Hi everyone,
I’m using the Managed pricing setting for my app’s billing (docs: https://shopify.dev/docs/apps/launch/billing/managed-pricing).
Here’s the scenario:
-
I start with 2 plans: Basic and Advanced.
-
Later, I want to remove the existing Advanced plan and create a new “Advanced” plan (with different features and a new price).
From a UX perspective, I’d like to:
-
Show users who are still on the old “Advanced” plan a banner saying:
“The plan you’re subscribed to is no longer available, but you can continue using it. You also have the option to switch to our updated plans.” -
Allow new users to only subscribe to the current active plans.
The problem I’m running into is:
-
The
appSubscriptionAPI gives me a subscription ID, but every new subscription gets a unique ID — it doesn’t seem tied to the underlying plan. -
I can’t find a way to fetch the list of active plans I’ve set up through Managed Pricing, so I can properly manage this logic in my app.
My question:
Is there a way to fetch and manage the list of plans I’ve configured with Managed Pricing (and distinguish between “old/retired” and “current” plans)?