#nid11 - bancontact
1 messages · Page 1 of 1 (latest)
src_1KT8SUIbIZNOgcWlJrDec0TF
src_1KTA7WIbIZNOgcWl8MMixVaA
these 2 for example are marked as success payment in my app but there is no failed payments in Stripe
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
thank you a lot
@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
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
Bancontact is asynchronous and work completely differently from cards.
i know
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
okay, so what's your suggestions ?
My recommendation is to change your integration to follow our canonical integration path documented here https://stripe.com/docs/payments/bancontact/accept-a-payment
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?
cc @steep temple