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

Solved

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

FedeGala
Tourist
6 0 5

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!

Accepted Solution (1)

Vellir
Shopify Partner
146 32 40

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

- Looking for a Wishlist? Try First Wish

- Shopify Merchants, manage your new arrivals with Newr

- Shopify Developers, if you're looking into selling your app to focus on other projects, drop me a line.

View solution in original post

Reply 1 (1)

Vellir
Shopify Partner
146 32 40

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

- Looking for a Wishlist? Try First Wish

- Shopify Merchants, manage your new arrivals with Newr

- Shopify Developers, if you're looking into selling your app to focus on other projects, drop me a line.