I did the API calls for the recurring charges for the app I created in the shopify with required parameters and got redirected to the given return_url
after the user's response and the response details were saved into the database along with the charge_id
.
What I required is in the upcoming months if the user's debit/credit card doesn't have enough balance to pay for the recurring charge or the payment failed, how can I know that the subscription is failed in the next month? I just want to update it in the database to pause my service untill the payment gets success.
Is there any webhooks or event triggered in such a case or does it call the same API that I have given as return_url
during the initial recurring charge?
Can anyone help me?