I'm developing an app for Shopify and they show a flow diagram on this page: https://help.shopify.com/api/charging-for-your-app/recurring-application-charges
I'm doing a recurring charge, which is described here: https://help.shopify.com/api/reference/recurringapplicationcharge
Their docs say that when a user accepts/declines a charge, the user will be sent to return_url
, where I can then verify the status.
But how do I handle / get notified on the other cases where payment is interrupted:
- User doesn't respond and charge becomes expired
- User cancels Shopify account
- User's credit card is removed/declined
- User's account is frozen