Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

GraphQL Billing API appUsageRecordCreate flow issues

GraphQL Billing API appUsageRecordCreate flow issues

Markus_Tripp
Shopify Partner
5 0 2

My app goes through the standard OAuth and billing flow during installation and creates an AppSubscription, including a recurring billing ($9 every 30 days) and a usage billing charge ($50 capped). If the user accepts, I use the returned subscriptionLineItemId later in the app to create a usage record. In a Polaris modal I ask the user for confirmation before I charge.

Screenshot 2021-03-19 at 09.41.36.pngScreenshot 2021-03-19 at 10.01.33.png

From my point of view, I implemented everything correct following this tutorial: https://shopify.dev/tutorials/implement-your-app-business-model-with-billing-api#implement-the-appsu...

Unfortunately, my app submission has always been rejected because I have to redirect to a billing modal after clicking "Buy" in the modal. What billing modal? I have no idea what the review team means. (Review team: "I've gone ahead and discussed this to my colleagues and they mentioned that the app should still redirect to the billing modal after clicking the pop-up, this is needed to ensure that the merchant who'll pay for additional fees be informed about what's going to be billed after the billing cycle.")

Please can anyone help me find out what I have to change so that my app works correctly and the review team accepts it?

Markus Tripp / Developer
Replies 2 (2)

GJJO
Shopify Partner
3 0 0

Hi Markus,

 

How are you?

How did you resolve this situation? I am currently having the same issue with the app review. Any input is highly appreciated.

 

Thanks,

 

GJ

banned
Markus_Tripp
Shopify Partner
5 0 2

I changed my implementation to offer different price plans (basic, advanced, pro, ...). For my use case, it was far away from perfect, but I passed the review process.

Markus Tripp / Developer