Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
Hello,
I need to run a process whenever Shopify subscription has been renewed.
I checked here (https://shopify.dev/docs/admin-api/graphql/reference/events/webhooksubscriptiontopic) and found that I can subscribe to the topic APP_SUBSCRIPTION_UPDATE for subscription updates.
1. Having created a webhook subscription with the above topic, how can I test (simulate) a recurring subscription without waiting for the current subscription to first expire after 30 days? Note: If I cancel the subscription, the status changes from Active to Cancelled ( I may be wrong).
2. It is extremely necessary that I am able know when a subscription has been renewed. How does the app subscription status change. Does the app subscription status first change from Active to Expired and then when the charge renews - becomes Active again? I want to know if there is a way to detect renewals.
3. Am I using the right webhook topic to check for renewals of app subscription?
Have you ever found out these things? I need to know, too.
Did you able to find a solution for this?
Some update about that?
I am facing a similar issue.
Have you found a solution?