#Michael Frost - connect EPS webhooks
1 messages · Page 1 of 1 (latest)
Sure!
We a running a platform with connected accounts selling event tickets.
Our frontend is a React/NextJs using Elements from @stripe/react-stripe-js.
The connected accounts can have EPS enabled as a payment method.
Our backend listens for the connected webhook charge.succeeded to full fill the order.
Is this a correct approach so far?
With full fill the order I mean to generate the event tickets and send them to the customer by mail.
Thank you for the clarification. That sounds like a good time to fulfill based on the payment. You can likely also do payment_intent.succeeded if you are using payment intnets.
But yes, that webhook is a good signal to listen to for to make sure that the payment went through correctly
Yes, we are using payment intents.
Perfect, can definitely use those here. Is the main question when to fulfill these orders or is there more that you are asking about here?
Ok, I just wanted to clearify that we weren't off track here.
This approach seems to have worked for us. But today we got feedback from a platofrm customer that they had problems with there payment.
Apearently and according to their complaint they sent a screenshot of their online banking that they were charged for a ticket. So far so good.
But on our side (backend server) it seems like we never recieved a webhook for this to complete the order.
I have 2 orders of the customer in our databse and 2 payment intent ids, would this help you?
Hi 👋 jumping in as my teammate needs to step away soon. Yeah, those payment intent IDs would be helpful in taking a look at what's going on.
Herer you go: pi_3KlmlVCcxi2yiQXf1r9Jr1JX and pi_3KloqpCcxi2yiQXf0Git7LSQ
@lost flame , before looking into the payment intens, I have a question that might solve this faster.
Is it possible that the EPS charge for the cusomter failed, what would be the obvious reason why we didn't get any succeeded webhook, but the customer sees a reservation for the charge amount in their online banking app?
Yeah, looking at that first PI, the authentication challenge wasn't completed successfully so the payment failed. Not sure why the reservation would show in the banking app, the bank would be able to provide more insight on that, but my suspicion is that the bank just hasn't cleared out the pending charge yet.
Thanks toby! That was it.
Happy to help!