#eoghanobrien
1 messages · Page 1 of 1 (latest)
There's not really a good way to do this unfortunately. What's the end-goal exactly? Maybe I can suggest workarounds
We missed an event because we hadn't registered the webhook
So we want to re-send the webhook
It's just 1 event?
We have more but the process would be the same for all right
There's not a way to resend events that weren't previously configured to be sent to an endpoint
You'll need to write a script or something to backfill data using https://stripe.com/docs/api/events/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ah okay, that's not so bad
so what's the workflow there
list events for a specific event type within a date range and dispatch them internally?
Yep exactly
Or just store whatever data from those event objects directly in your db (depends on what permissions or environments you have available to run scripts in prod)
gotcha, thanks for the tip! Is it better to call all and then use the auto paging iterator for this
Most likely if you have a lot of events
when querying for events by date, should I be using UTC or my own timezone?
utc