Recurring charge cancel event

Highlighted
New Member
2 0 0

Hi,

I'm implementing an recurring charge app for our service that is billed mouthly.

I would like to know are there any notification(webhook/automatic event) that the Shopify shop will send to the app when the Shopify subscription or the app charge is cancelled?
Or maybe the app/uninstall webhook called in this case?
Or I need to query for the charge via the Billing API to get it's status?

Thanks for your answer in advance!

0 Likes
Highlighted
Shopify Partner
106 1 15

I don't know the definitive answer for this, but I don't believe there is a webhook for this and expect you will need to make a call to RecurringApplicationCharge 

GET /admin/recurring_application_charges/#{id}.json

and check the property of cancelled_on

If it is null the charge is active, if it is not, it has been cancelled.

It would be good if there was some webhook notification for a cancelled charge and then you could respond with a customer communication rather than polling the customers account via a cron job.

My enthusiasm greatly exceeds my talent.
1 Like
Highlighted
New Member
2 0 0

Thanks for your answer.

I have already found this older post and hoped that there is some update in this part of the system.

But as you suggested, I will poll for the charge statuses or cancelled_on field and do the required actions.

Thanks again!

0 Likes
Highlighted
Tourist
7 0 7

Indeed, CRON polling is the only way to date...

We've tried capturing all possible events (shop close, app uninstall, shop cancellation) but we find out about a new event every couple of months.

0 Likes