#Remi-retry

1 messages ยท Page 1 of 1 (latest)

viscid tide
#

Hi! Can you send me some ID to investigate this, like the invoice ID (inv_xxx) for example?

half flame
#

in_1KM7vHLTDjbRKCmVvWoAhToy

viscid tide
#

Thanks! Give me a few minutes to look into this.

half flame
#

perfect

viscid tide
#

This is odd, I'm still looking into this. In the meantime, have you tried voiding that invoice?

half flame
#

No, because after we added address data, which made the invoice succeed

#

So, now it's doing what i should, but there seems to be a stack of webhooks still being piled up which are being sent out

viscid tide
#

which made the invoice succeed
I see the invoice status as open on my end

half flame
#

it's pending, because it's a sepa payment (which takes a while)

#

The user has completed the payment and Stripe is waiting for the funds from their bank.
Stripe is currently processing the payment.

viscid tide
#

Got it, still looking into this.

half flame
#

๐Ÿ™‚

viscid tide
#

Still investigating... sorry for the delay.

half flame
#

no worries

viscid tide
#

Like you said the invoice has been paid, so it should be fixed now. But I think all those invoice.update events are retries of previous event deliveries.
Unfortunately there is currently no way to stop the retries for a given event, but you could temporarily disable your webhook entirely (in the dashboard or the API). Another extreme solution is to delete the webhook endpoint and add it again, but we do not recommend this since it will stop delivery for any event pending and any event created while the webhook was deleted.

half flame
#

And for future situations? Is there a way to stop Stripe from continuously retrying? to prevent this loop?

tawdry loom
#

Hey, as @viscid tide stated you can't prevent retries โ€“ as we assume you want to successfully receiving the event

#

You instead just return a 2xx response from your handler

half flame
#

What i meant was that the invoice finalization fails, because the address data was missing to update the automatic tax. Stripe then kept retrying in a loop. Without stopping, untill we realised it and manually fixed the address. But the loop that started by the infinite retries... can i prevent that? Is there a settting somewhere that i can set to stop retrying to finalize if it failed x amount of times?

tawdry loom
half flame
tawdry loom
#

This isn't automated by us

half flame
#

ah!

#

right!

#

Perfect

#

thanks!

tawdry loom
#

Np!