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.

Billing API: remove recurring fee on app_uninstalled webhook

Solved

Billing API: remove recurring fee on app_uninstalled webhook

joergviola
Shopify Partner
2 0 0

Hi all, 

we are in the review process of our app.

One criterion is that, on uninstall, all recurring fees must automatically be terminated.

Since we are a SaaS platform with its own charges, we did not use managed billing, but implemented our own billing via the shopify billing API.
So, we are listening on the uninstall webhook and try to remove the recurring fees.
But here, the app is already uninstalled, thus the request is unauthorized.

Therefore the question:
Using the Billing API, how do we remove recurring fees on app uninstall?

Thanks for your time!

Accepted Solution (1)

gojiberry-des
Shopify Partner
29 7 5

This is an accepted solution.

On Shopify's end, any shop that has uninstalled your app will have all active recurring charges cancelled.

If there are any other charges on your own platform instead, you will need to handle them.

 

https://shopify.dev/docs/apps/launch/billing/subscription-billing#cancelling-subscriptions

If you like my suggestion please give it a LIKE or mark it as a solution! ★★★★★

Gojiberry - Best post-purchase survey and feedback app for Shopify | Install on App Store for free
Shopify Community is helpful, BUT... why not start asking your customers for feedback instead?

View solution in original post

Replies 2 (2)

gojiberry-des
Shopify Partner
29 7 5

This is an accepted solution.

On Shopify's end, any shop that has uninstalled your app will have all active recurring charges cancelled.

If there are any other charges on your own platform instead, you will need to handle them.

 

https://shopify.dev/docs/apps/launch/billing/subscription-billing#cancelling-subscriptions

If you like my suggestion please give it a LIKE or mark it as a solution! ★★★★★

Gojiberry - Best post-purchase survey and feedback app for Shopify | Install on App Store for free
Shopify Community is helpful, BUT... why not start asking your customers for feedback instead?

joergviola
Shopify Partner
2 0 0

Argh! Sorry, we didn't think about it the correct way.
Fees are automatically cancelled.
We only have to terminate the license on our side.

Thank you!