#0xdeafcafe

1 messages · Page 1 of 1 (latest)

clear wagonBOT
upbeat wagon
#

Hi there

#

Which test card are you using?

#

We have a couple test cards that require 3DS every time, regardless of being set up previously

crystal yacht
#

Authenticate unless set up and Already set up are the two I'm using

#

These are the error's I'm seeing in Stripe when trying to charge the customer using the payment method that has a successful SetupIntent

upbeat wagon
#

Can you give me the PaymentIntent ID that hit that requires_action?

crystal yacht
#

yep

#

pi_3Ng5bdAJaOWIoiCJ2GWgiEwT

#

Thank you so much for looking into this so quickly, I really appreciate it

upbeat wagon
#

Happy to help

#

Taking a look at the PI

#

Okay

#

So you used the 4000003800000446 there

#

Which the description is: This card is already set up for off-session use. It requires authentication for one-time and other on-session payments. However, all off-session payments succeed as if the card has been previously set up.

#

Your PaymentIntent looks like a one-time on-session payment

#

Becuase you aren't passing off_session: true

#

Try passing that and let me know if it still moves to requires_action

crystal yacht
#

We aren't passing off_session in the payment intent, you're right 🤦‍♂️

#

We've run this code on production and it has worked which is super weird. I'm going to push this change and give it a test. Thank you!

upbeat wagon
#

Yeah that card is pretty particular

#

But also in production you do want to be passing off_session: true if the customer is not present

#

That will optimize the flow

crystal yacht
#

Yeah 100%, the engineer who wrote this must have just missed it out. Oh well, mistakes happen

crystal yacht
#

That all works perfectly. Thanks again for helping me with this - have a great day!