#aayush
1 messages · Page 1 of 1 (latest)
Can you elaborate?
We recommend using webhooks for handling failed payments on Subscriptions: https://stripe.com/docs/billing/subscriptions/webhooks
Let me know if that answers your question
yes i am using webhooks
based on this i understood that to create my custom logic to enable next_payment_attempt i need to write that logic in my webhook?
but i couldnt find any event type to handlt next payment attempt
So you are trying to override smart retries?
yes i want to know if is that possible?
If you want to process payment retries according to your own logic, you likely want to disable smart/automatic retries. You can't "set" next_payment_attempt -- that's purely informational when watching automatic retries
What exactly are you trying to achieve?
i have this idea that if this recurring payment for a users fails i want to send a email or some way to let user inform that his payment is not done
So Stripe can manage that for you, but it's up to you whether you want to enable that vs handle it yourself.
Tell you how to what? Disable automatic retries?
i meant how can i send these emails to users if recurring payment fails? as u said stripe can handle that so how to enable it?
so i dont want to disable automatic retries if it solves my purpose of notifying users
ah, see here: