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.

Listening to App Monthly Subscription Charge

Listening to App Monthly Subscription Charge

sumanthjois1996
Shopify Partner
22 0 5
Hey! My app pricing is based on a monthly recurring charge. I want update something in my database every 30 days when user's charge go through successfully. What webhook should I listen to ? I just realized APP_SUBSCRIPTIONS_UPDATE doesn't get triggered for this event.
 
PageCrafter - Build Beautiful Product Descriptions that Improve Conversion

DM me your product page and I will help you improve it for free.
Reply 1 (1)

Sam_Cnet
Shopify Partner
127 3 6

Hi @sumanthjois1996,

 

Do this when shop has approved the charge and is redirected to your charge confirmed page make a call to update your database. Then have a cron job to check that this subscription is still active.

Lead Developer @ Achieve Applabs.
https://achieveapplabs.com