Does uninstalling an app automatically cancel its subscription or is it up to the app?

Solved
Highlighted
New Member
2 0 0

Hello,

I'm creating an app that uses GraphQL to fire an "appSubscriptionCreate" to start a subscription during installation. My question is, when someone uninstalls the app, does Shopify automatically cancel that subscription, or is it on the app to fire a corresponding "appSubscriptionCancel" when it receives an "app/uninstall" webhook?

 

Many thanks in advance!

0 Likes
Highlighted
Shopify Partner
129 28 31

This is an accepted solution.

Hi FedeGala,

Shopify handles that for you. If an user uninstall your app their subscription is automatically cancelled. 

https://shopify.dev/tutorials/manage-subscriptions-with-billing-api#canceling-subscriptions

- Yes, we build Shopify Apps. Hit me with your idea: https://vellir.tech
- Let customers preview your products and easily add them to cart with Peek Mode
- Add free, good looking social share icons with built-in analytics to your store with Share Lab
- Manage your new arrivals with Newr
0 Likes