#mrdude_webhooks
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1298251349175304203
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello 🙂
We don't guarantee webhook event ordering so you shouldn't rely on that:
Your endpoint shouldn’t expect delivery of these events in this order, and needs to handle delivery accordingly
Oh okay, thanks, I've missed that in the docs I guess.
Looks like the events were created at the same time: 2024-10-22 11:17:44
Yea, I'm using test card to create dispute, but those 2 events run at the same time
So I wasn't sure if that is how that works in real env
But now that i think of it, I maybe dont even need charge.dispute.created I care only when funds are withdrawn from connect account and then reinstated
I have enough data from charge.dispute.funds_withdrawn to store in my db
What do you say about that?
Depends if you want to know if/when disputes are filed or only when you lose them
I mean, if .created and .funds_withdrawn are always triggered at the same time (in prod env as well) why would i need .created?
or things run differently in prod?
I don't believe they are, that's likely just a behaviour specific to that test card
Oh ok, I will try some diefferent cards, but in case it behaves the same, should I expect the same beahvior in prod env?
I believe it might be, not entirely sure: https://docs.stripe.com/disputes/how-disputes-work#during-the-dispute
Not really something we're familiar with so I'd check with support if you need confirmation
Yes, If you could get me some confirmation, that would be very nice 🙂