#Sébastien

1 messages · Page 1 of 1 (latest)

tired vortexBOT
#

Hello Sébastien, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Sébastien, 32 minutes ago, 6 messages
Sébastien, 12 hours ago, 3 messages

stable hazel
#

Hi there! Can you summarize your question in this new thread?

nova swan
#

Yes I will

#

When I make a payment with a card where there is a 3D Secure verification, I systematically have an "Invoice Payment Failed" event before proceeding with the 3D Secure verification...
When I use a card without 3D Secure, I don't have this problem of Invoice Payment Failed...
An idea ?
I'm referring to a new subscription, you can take a lookup to the attachement.

#

For exemple : pi_3O5BXaIkuBTPnlgp2rGTTaqd

stable hazel
#

I systematically have an "Invoice Payment Failed" event before proceeding with the 3D Secure verification...
Yes that's expected and how Stripe works. What's the issue?

nova swan
#

Ok I understand thanks, where can I see the different steps (events) of a payment with the 3D Secure verification ?
I have a webhook that processes the " failed invoices payements " ... and sends an email when there is one.
How can I distinguish when I have a failure with a 3D secure verification and not (other failed payement) ?

#

And also, big thanks for your response 🙂

tired vortexBOT
stable stream
#

👋 taking over for my colleague. Let me catch up.

nova swan
#

Thanks 🙂

stable stream
nova swan
#

Yes of course

stable stream
#

so basically if you do, this means that the payment_failed event was due to requiring 3DS if the payment method type is card

nova swan
#

Ok so, in my webhook, i have to check if I have a" payment action required", right

#

?

#

and adjust the emails that i send ?

stable stream
#

yes

nova swan
#

ok thanks, last question (sorry)... which data should i take in the event to verify this parameters ?

stable stream
#

you can look at the payment_method

nova swan
#

this one :

#

"payment_settings": {
"default_mandate": null,
"payment_method_options": null,
"payment_method_types": null
},

#

?

stable stream
#

so basically invoice.payment_intent.payment_method.type

#

but note that payment_intent and payment method needs to be expanded first

#

so you can either retrieve the invoice and expand on payment_intent.payment_method or you can retrieve the PaymentIntent and expand on payment_method

#

it's really up to you

nova swan
#

okay I understand

#

it's clear now

#

big thanks tarzan

stable stream
#

sure thing

#

let me know if you need any more help