Hi everyone, I’m facing an issue with enabling Managed Pricing for my public Shopify app, and I can’t seem to complete the billing setup.
My app is already live on the Shopify App Store, and I’m migrating from a free model to paid plans. I’ve configured 4 public plans (Free, Starter, Pro, Unlimited) under Partner Dashboard → App Listing → Pricing and selected Managed Pricing as the method.
However, I’m stuck on this problem:
Problem
-
Shopify does not show the “Preview in Shopify admin” button on the Pricing page
-
I cannot find the app billing handle (numeric ID used in
/charges/{handle}/pricing_plans) -
When I redirect users to:
https://admin.shopify.com/store/<store-handle>/charges/<app-handle>/pricing_plans
Shopify returns 404 or redirects to /apps instead of the pricing page.
What I have tried
Managed Pricing enabled
Added multiple public plans with features and prices
Checked:
“I have approval to charge merchants outside of Shopify Billing API”
Added URLs in the pricing info fields
Saved and refreshed the page multiple times
Confirmed the app is public and approved
Using @shopify/shopify-app-react-router with billing.check() redirect logic
What’s not working
-
The default plan selector does not appear
-
The Preview in Shopify admin button never shows up
-
No billing numeric app handle is generated
-
/charges/<handle>/pricing_plansresults in redirect to the apps home page
Code snippet for redirect
const { billing, redirect, session } = await authenticate.admin(request);
const { hasActivePayment } = await billing.check();
if (!hasActivePayment) {
const storeHandle = session.shop.replace(".myshopify.com", "");
const appHandle = "webp-wizard"; // placeholder, waiting for real numeric ID
return redirect(`https://admin.shopify.com/store/${storeHandle}/charges/${appHandle}/pricing_plans`, { target: "_top" });
}
The issue is: I cannot get the correct billing appHandle from Shopify because the preview button and billing page never generate.
Expected outcome
- Shopify should generate a numeric billing handle like:
https://admin.shopify.com/store/<store>/charges/12345678901/pricing_plans
-
Button to preview pricing page should appear
-
Redirect should open the Shopify-managed plan selection page
Question
Has anyone seen this before?
Is there an extra step required to enable managed billing for a public app?
Do I need Shopify Support to activate billing for my app manually?
Any insight would be appreciated — I’ve been blocked here for days.
Thanks in advance!