Why hosting matters
To create a subscription, Meridian needs an offline access token for the shop. Your app stores those tokens in its own Shopify session store, so Meridian reads them from the app’s managed database, which is why activating a plan requires the app to be hosted on Meridian. You can build draft plans without hosting. Editing and deleting them follow the subscriber protection rules. Saving a new version of an active plan runs the same hosting checks as activation.What the session store can block
The Plan Builder tells you which one applies rather than letting a merchant hit the problem when they subscribe:
The third one catches most people: a brand-new app has nothing to bill with until somebody installs it.
Paid plans need Shopify billing set up
A paid plan is one Shopify charges the merchant for: a monthly or yearly price, or an event or view with an overage rate. Meridian creates that charge with your Shopify app’s credentials, through your Partner connection, so it refuses to activate a paid plan while any of these is missing:
On a paid draft, the plan’s Status stays on Draft and says Set up Shopify billing to activate. A button for each missing requirement (Add the client ID, Add the client secret, Connect the Partner app) opens the settings page that fixes it, and small checks name what is already in place. The Shopify API credentials card shows all three requirements under Billing not ready. Through the API, the activation answers
422 with SHOPIFY_BILLING_NOT_READY and the codes in error.details.reasons, the same error a subscribe returns.
Two cases are not checked:
- A free plan ($0, and no overage rate on any event or view) activates whatever the Shopify setup, because Meridian starts it without a Shopify charge. Merchants still can’t subscribe to it until the setup is complete: every subscribe, free or paid, checks the same four things and answers
SHOPIFY_BILLING_NOT_READYuntil they are in place. - A paid plan that is already active stays active and editable, and a new version of it keeps its active status.
What activating does
Activating checks the app’s session store, and for a paid plan the Shopify billing setup, then moves the plan to active, so it appears on the pricing page and can be subscribed to. That is all it does: Meridian sends nothing to Shopify when you activate. Shopify first hears about the plan when a merchant subscribes, and the merchant approves the terms on Shopify’s approval screen then. See What the merchant sees. Only the current version can be active. On an older version, Active is disabled with Only the current version can be offered. and a link to the current one. You can still switch the older version to Draft. Deleting the current version is allowed only without live non-test subscribers. The previous version then becomes current and can be activated. Switching back to draft hides it from new subscribers. Existing subscribers keep what they have and still see it as their Current plan with a No longer offered badge. Switching to draft does not lift its edit lock.When you save a new version
To change protected terms, edit the latest version and confirm the Save as version dialog. The new version inherits the previous version’s stored status. If it is active, Meridian runs the activation checks, saves the active new version, and switches the previous version to draft together. If it is a draft, the new version stays a draft until you activate it. Subscribers keep the previous version with its terms and recurring price. Discount codes restricted to that version automatically cover the new version as well. See Save changes as a new version.Deleting a plan
A plan version with live non-test subscribers can’t be deleted. Deleting it would take their features and usage billing away while Shopify keeps charging them the recurring price, so the Plan Builder refuses while any non-test subscription to that version is:- Active or accepted, including a store on a free trial
- Frozen, because Shopify resumes it once the store pays again
- Pending, because the merchant can still approve it on Shopify’s screen. Shopify expires an unapproved subscription after two days, so an older one no longer counts.
- Scheduled: a merchant approved a downgrade to this version, or is moving to this free plan, at the end of their paid period. They have agreed to its terms, and the store switches to it on that date. See Plan changes.
What the merchant sees
Subscribing is a Shopify handshake, not a Meridian checkout:- Your app asks Meridian to subscribe the shop to a plan.
- Meridian creates the subscription through Shopify’s Billing API (with the plan’s price, its trial days, any usage line item, and any discount) and gets back a confirmation URL.
- Your app sends the merchant to that URL. Shopify shows its own approval screen, where the charge is authorised.
- Shopify redirects the merchant back to your app and notifies Meridian, which records the subscription and fires the subscription triggers.
Trying it without money moving
A subscription created on a development store is a Shopify test charge. Before it creates the charge, Meridian asks Shopify whether the store is a development store, so the whole flow runs (approval screen with Shopify’s test charge notice, redirect, subscription recorded, triggers fired) with nothing billed, on your deployed app as well as in local development. Every other store gets a real charge. Meridian has no separate test mode to switch on: installing your app on a development store and subscribing is the end-to-end rehearsal. If Shopify can’t answer that question when you subscribe, Meridian creates a real charge rather than risk a free one, and a development store has no payment method to approve it with. Subscribe again.A free plan (monthly price 0) needs no Shopify charge, so a merchant subscribes to it without an approval screen at all. From a paid plan, the move is a cancellation: the paid plan runs to the end of its period, and the free plan starts then.