How to cancel subscription on uninstall

Solved

Hi there,

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?

Onsite marketing & Customer support made easy for you: Growth Suite
0 Likes
New Member
2 1 4

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.

Thanks a lot @shophlpr . It works great

Onsite marketing & Customer support made easy for you: Growth Suite