#KarlS-webhook

1 messages · Page 1 of 1 (latest)

oblique siren
arctic wagon
#

Just got done conversing with Stripe Support.

oblique siren
#

Hi, firstly for the Customer Service, I believe it's still there

#

ah okie so you figured it out the Stripe Support

arctic wagon
#

Yes, it is, just didn't see any link from the Dashboard.

#

Well, ye/no.

#

*yes/no

oblique siren
#

For resending the events, we have a resend API that you can use to create a batch, but let me look up if we have a better way

arctic wagon
#

Here is the problem: I have many webhook events that have failed. I see no way to identify which failed event is the original, therefore to process and resend all failed events would mean that I sending things many many many times for the same event.

#

Make sense?

oblique siren
#

resending events should have the same Id

arctic wagon
#

So for instance: a user on my site pays for a product, stripe processes the charge and then sends me "invoice.paid" (among other subscribed webhook events), that webhook event fails to send, and then later it retries. It retries gain, and eventually quite retrying.

#

you are saying that the eventid is not unique for every webhook event try but unique for each original webhook event?

#

OK, this one for example: evt_3JXphIDOnh5qjbu11pnIBr5H

oblique siren
#

Let me check.

#

Yeah it failed multiple times, but succeed in the last

arctic wagon
#

That was me resending it.

oblique siren
#

and has the same Id evt_xxx

#

So you would want to find out the unique set of failed event ids, and haven't succeed yet first

#

then create a batch on that set, to use the resend command

arctic wagon
#

I see that now. So the problem is that as I Page through the failed webhook events and hit Resend, there are 5 more failed event for this same webhook that I might click Resend on.

#

ok, and I can do that with the Stripe CLI you are saying...

oblique siren
arctic wagon
#

ok, and from that list get that failed ones. Thank you so much. I can take it from here!

oblique siren
#

Good luck!

arctic wagon
#

*sorry, get the failed unique ones.

#

hey, one more question.

oblique siren
#

sure

arctic wagon
#

if the column, "next resend" is blank, is that event dead in the water and will never be retried again by Stripe dashboard? In other words, I've reset enabled and fixed my webhook endpoint, by starting it back up it won't try automatically to resend these events?

#

*it [Stripe]

#

Hence, I'll need to resend them myself with the Strip CLI

oblique siren
#

Do you mean "next retry"?

arctic wagon
#

Yah, next retry.

oblique siren
#

Yes the next retry means that if Stripe will retry in the future