Development discussions around Shopify APIs
I am new to shopify and have developed an embedded app and about to submit for review.
Before that I am now reviewing my app on my own for anything I have missed out as mandatory requirement by Shopify.
Doing so I have missed out to implement Billing System using GraphQL Billing API. While implementing, after OAuth am getting appSubscriptionStatus and accordingly if its not subscribed am calling appSubscriptionCreate for the Pricing plan and it returns confirmationURL and redirected to the Approval page.
But here am missing the pricing page to choose the best plan from all pricing options.. Guide me pls where to handle all those stuffs regarding pricing page in shopify.
Thanks.
Solved! Go to the solution
This is an accepted solution.
Hi there!
It sounds like you are on the right track!
What most people would do is that after the OAuth, and receiving the access token when the merchant is redirected to the App, if they do not have a current pricing plan then you will redirect them to a page in your app where they can select a plan.
Them selecting the plan will call the appSubscriptionCreate, and redirect them to the page in Shopify to accept the charges, and then redirect back to your application.
So in summary, you will need to build a page in your app where merchants can review and select your different pricing plans.
This is an accepted solution.
Hi there!
It sounds like you are on the right track!
What most people would do is that after the OAuth, and receiving the access token when the merchant is redirected to the App, if they do not have a current pricing plan then you will redirect them to a page in your app where they can select a plan.
Them selecting the plan will call the appSubscriptionCreate, and redirect them to the page in Shopify to accept the charges, and then redirect back to your application.
So in summary, you will need to build a page in your app where merchants can review and select your different pricing plans.
User | RANK |
---|---|
19 | |
7 | |
7 | |
6 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022