#nid11 - bancontact

1 messages · Page 1 of 1 (latest)

toxic gorge
#

Do you have an example payment ID that you are seeing this discrepancy for?

steep temple
#

src_1KT8SUIbIZNOgcWlJrDec0TF
src_1KTA7WIbIZNOgcWl8MMixVaA

these 2 for example are marked as success payment in my app but there is no failed payments in Stripe

toxic gorge
#

Thank you for the IDs. Apologies I dropped off of this thread for a while. I have asked a colleague for assistance looking in to this

steep temple
#

thank you a lot

echo shore
#

@steep temple hello! Taking over for Pompey. Unfortunately I don't understand your ask and you just shared a lot of pictures of code, which isn't really something I can do much about

What's the real issue you have exactly? You shared some source ids and nothing else

steep temple
#

src_1KT8SUIbIZNOgcWlJrDec0TF
src_1KTA7WIbIZNOgcWl8MMixVaA

this 2 payments with Banconcats have failed but i got them as sccuessed in my DB

and i dont think that is normal beacuse im have like more than 10 failed payments that are recorded as succeessed in my DB

payments with Credits card or debit card are okay

echo shore
#

Bancontact is asynchronous and work completely differently from cards.

steep temple
#

i know

echo shore
#

You have to handle the source.failed and source.chargeable events for those. Are you doing that? There's no way to think a payment succeeded until after you get source.chargeable and charge that Source which you aren't doing

#

Also, the Sources API has been deprecated for a long time. If you use PaymentIntents your life would be so much easier since we do the charge automatically for you

steep temple
#

okay, so what's your suggestions ?

echo shore
#

Alternatively, if you want to stick to Sources for now, you need to help me help you to clarify what your code is doing, since it all boils down to where you listen to the source.* events and what you do when they happen

#

does that make sense?

echo shore
#

cc @steep temple