Managed pricing link auto redirects to Settings page, without showing the plan page

When I use managed pricing link in Polaris web components like this :

<s-button href="https://admin.shopify.com/store/:store_handle/charges/:app_handle/pricing_plans"> Select a plan </s-button>

Clicking the button will open the pricing plan page, but it will auto redirects to the store settings > Apps and sales channel page immediately.

Demo video : https://share.cleanshot.com/qGjFsdzm

Seems like not related to Polaris web components, accessing the link directly has the same problem too :

I see draft in the URL Is that intended?

Yes, the app handle name includes “draft” and is intended (I have other apps that include this in app handle as well) . Does this affect the behaviour of managed pricing?

I tried using the app client ID in place of app handle, same issue still occur

It looks like the app is named yagi-draft-variant not yagi-variant-draft

Good catch! Thank you :folded_hands:, sorry I got confused previously

1 Like