I'm developing a Shopify app with Ruby on Rails, using Shopify Ruby Gem. One of the requirements for approval is cancelling subscription when user uninstall app. When I uninstall app on my test store Shopify does not notify me about the uninstall. How can I cancel subscription when user uninstall my app?
Can anyone know solution for this issue?
Solved! Go to the solution
This is an accepted solution.
Have a look at the webhooks https://shopify.dev/docs/admin-api/rest/reference/events/webhook
You need to subscribe to the app/uninstalled topic.