#aayush

1 messages · Page 1 of 1 (latest)

frosty driftBOT
dark escarp
#

Can you elaborate?

obsidian crag
#

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

dark escarp
#

So you are trying to override smart retries?

obsidian crag
#

yes i want to know if is that possible?

frosty driftBOT
unique anchor
#

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?

obsidian crag
#

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

unique anchor
#

So Stripe can manage that for you, but it's up to you whether you want to enable that vs handle it yourself.

obsidian crag
#

yes that is also what i am looking so can u tell me how to

#

make this work?

unique anchor
#

Tell you how to what? Disable automatic retries?

obsidian crag
#

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

unique anchor
#

ah, see here: