Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Re: How to cancel subscription on uninstall

Solved

How to cancel subscription on uninstall

mtufekyapan1
Shopify Partner
51 0 12

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?

Proven Growth Strategies Made Simple: Growth Suite - AI Driven Cart Recovery - 14 Days Free Trial

Checkout MarketingLib, a resource to follow up best practices.
Checkout Ecomrazzi, store stories from all around the world.
Accepted Solution (1)

shophlpr
Visitor
2 1 8

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.

View solution in original post

Replies 2 (2)

shophlpr
Visitor
2 1 8

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.

mtufekyapan1
Shopify Partner
51 0 12

Thanks a lot @shophlpr . It works great 😉

Proven Growth Strategies Made Simple: Growth Suite - AI Driven Cart Recovery - 14 Days Free Trial

Checkout MarketingLib, a resource to follow up best practices.
Checkout Ecomrazzi, store stories from all around the world.