#Andrew Samir

1 messages · Page 1 of 1 (latest)

wise heartBOT
minor edge
#

Hi there!

#

What do you mean by "make the webhook response faster"?

#

You want Stripe to send your the events quicker?

pine storm
#

Yes
My case is when the user pay i confirm using confirmCardPayment then i make a get request for the updated payment
(when he pay it is supposed to add some balance to user in database ) ... so i made a webhook to listen for success payment intent event ... but the get request i send is much faster than the webhook operations i made in db

#

SO the response from the get request is the old payment not the updated payment ... you got me ?

minor edge
#

To answer your original question: no you cannot make Stripe webhook events arrive faster.

(when he pay it is supposed to add some balance to user in database )
You should do that only when you receive the webhook event payment_intent.succeeded

pine storm
#

i did that but there are more actions to make when i recieve payment_intent.succeeded .... thats why my get request is faster ... so i was asking if there were a solution instead of delaying the get request i make from frontend

misty galleon
#

Hi 👋 I'm jumping in as my teammate needs to step away. It's not possible to speed up the delivery of webhook events, we already send them as fast as we're able to. This seems like a race condition that you'll need to build code to handle.