A place to discuss charging merchants for your apps and services using the billing API.
Hi team
Quick question - Is there any way to find out if our app users are on a regular or test recurring subscription?
I'm a bit worried that some users might have slipped through the cracks and got charged for test subscriptions when I accidentally included the test flagging for a couple of days.
Cheers
Ollie
autoBlogger: Seamlessly scheduled, fully automated, AI-powered, and SEO-optimised blogging with FAQs, table of contents and other features! Start your 14-day free trial today!
autoSchema: Fully automated and continuously updated Google structured data, including duplicate data removal. Simple to install – try it now!
Hi Ollie!
You should be able to use the RecurringApplicationCharge resource in the Billing API to return a list of recurring charges for your app. Then you can iterate through the list of subscriptions returned in the API response to check each subscription's status and test flag (there is a test property for the
RecurringApplicationCharge resource).
Hope this helps!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog