#nickdnk-webhook-duplicate
1 messages · Page 1 of 1 (latest)
Hey. I found it under Webhooks -> Events. Butr searching for it in general did not work.
I still can't figure out the duplication though, but I think that's on my end
searching for Event ids in the Dashboard has never worked
https://dashboard.stripe.com/events/evt_1LqE3pL7ilRdQXxEbvV9UCHi it's right there though
Alright
and on our end we only delivered that Event once
sometimes we can replay events, but it didn't happen here
Somehow my environment processes this webhook twice, and I cannot figure out why. I created a test locally where I spam my API with the same event and that works fine.
Yeah I'm sure it's on my end
strange
Very. I use mysql to "lock" the row based on event ID, so that it will wait if two requests for the same event come in at the same time; the second select being blocked until the first completes, in which case the second select will get a value of "completed" and discard the job
But apparently it's not working
Back to the drawing board I guess