Shopify App Pricing API implementation

Hello Everyone,

I am developing a shopify application with Shopify App Pricing API.

The application is not approved yet, but I have set up pricing on the partner dashboard in connection with the app submission for approval.

However, when I navigate to

https://admin.shopify.com/store/**org**/charges/**app_name**/pricing_plans

I get a 404.

My application submission has now been rejected twice on account that it cannot have errors (including 404 errors). I’m beginning to think this might be a chicken and egg situation where the pricing redirect page is not enabled for my application until it is approved and where the app is not approved as long as I keep getting the 404 error on the billings redirect page.

What am I missing here?

Thanks,

User1017.

Is it possible for the **org** URL parameter that you’re accidentally passing the entire *.myshopify.com value instead of just the unique prefix?

For example, a store like acme.myshopify.com you’d only pass acme as a URL parameter.

org and app_name are placeholders just because I didn’t want to post my unredacted information here.

Yes. I understand.

But because you’re using placeholders, I’m just guessing what values they could potentially be.

Thank you for responding.

You can help me in a few ways:

Do you know if the pricing page for an app is live just because the information is filled during app submission? Or does the app have to be approved for the pricing page to become available?

Do you have a link to an authoritative spec for constructing the URL?

Do you know if the pricing page for an app is live just because the information is filled during app submission? Or does the app have to be approved for the pricing page to become available?

I would imagine that the pricing page is available during draft status, otherwise you wouldn’t be able to test.

Do you have a link to an authoritative spec for constructing the URL?

Yes, docs are available here: Redirect to the plan selection page

Be careful with window navigation in embedded apps. You’ll have to pass _top to make sure you’re altering the parent URL outside of the AppBridge iframe.

Thank you Dylan, you pointed me in the right direction.

There was one more hidden configuration that needed to be set in the app listing.

Awesome! Didn’t realize the app didn’t have managed pricing enabled in the first place. That makes sense.

Good catch.