A place to discuss charging merchants for your apps and services using the billing API.
Hi guys,
I'm a member of an app developer team.
We're facing some issues with the subscription plans.
We've set up correctly based on the pricing requirements of the app listing. Like this article guide: https://shopify.dev/concepts/app-store/getting-your-app-approved/app-requirements#c-pricing
But when our customers sign up for paid plans. they cannot see the "Start 14-day free-trial" button. They only see the "Approve subscription" button.
Can anybody tell me the reason?
Maybe we're missing those codes like this article guide. https://shopify.dev/tutorials/manage-subscriptions-with-billing-api
Thank you,
Hey @AllFetch,
If you set up the app plan with a trial, the trial automatically starts if the app is still installed on the trial end date. There's no separate button to start the trial, so it sounds like what you're seeing is expected. If you're still stuck please provide a screenshot of the screen you're referring to.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi @_JB,
We've installed the code "Free-trial" and now it's working well.
However, I don't understand this section below. Can you explain for me? It comes from this link: https://shopify.dev/tutorials/manage-subscriptions-with-billing-api?utm_source=gurucopy&utm_medium=l...
Thank you,
Hey @AllFetch,
That part is talking about usage charges. Are you creating a usage or recurring charge?
For a recurring charge, you can set a free trial date, and the merchant will be charged automatically if the app is still installed when the trial ends.
Usage charges are different from recurring charges, and allow you charge merchants by actions taken. If your app uses usage charges, the merchant agrees to be charged up to the "capped amount" you set when creating the charge. The section you linked is explaining that in order to create a usage charge record that is higher than the capped amount specified when creating the usage plan, you need to update the capped amount first.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi @_JB,
If I have a recurring charge, and for example, the maximum order of a paid plan is 500, so when my customers get to 500. Are there any ways for me to make the deal $XX for the next 500?
Thank you,
Hey @AllFetch,
Yes that should be possible, see this section of the app billing tutorial. This shows how to create a usage charge plan, and usage records. You can use your own logic to create the usage records, so this will allow you to charge based on thresholds (you can charge $X for the first 500, and then $Y for everything after that). Just make sure to outline how usage is billed in the terms field.
Remember that usage charges are created against the original AppSubscription. If you need to update the cappedAmount for an existing subscription, this doc walks though how to do that. Once the cappedAmount is increased, you can create additional usage records on that shop.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog