App successful payments and failed payments webhook

YazanM
Shopify Partner
1 0 0

I have a question regarding the APP_SUBSCRIPTIONS_UPDATE webhook. I know it's triggered whenever there's a change in the app, but I'm not sure if it's fired in the following scenarios:

- When the subscriber pays for the app via Shopify and the payment is successful

- When the subscriber doesn't pay for the app and the Shopify payment fails

 

Also, if the Shopify payment fails, do we receive the app_uninstalled webhook or do we need to cancel the subscription ourselves without waiting for the webhook?

 

It would be great if you could provide a list of events that trigger the APP_SUBSCRIPTIONS_UPDATE webhook. This would help us manage the app billing cycle more effectively.

Reply 1 (1)

Da2
Shopify Partner
7 0 0

I have tested some of your queries. APP_SUBSCRIPTIONS_UPDATE is triggered even the payment is successful or declined/failed. I think this is because the payment is processed after the webhook is triggered.  if the Shopify payment fails, we do not receive the app_uninstalled webhook.  

 

Hope this will be helpful for someone.