#hhafeez-off-session-pi

1 messages · Page 1 of 1 (latest)

dreamy phoenix
#

Hey, can you share the PI ID pi_xxx

sick palm
#

Thanks for replying, here is the "pi_3KsqP2H0mp7J0S260RSIy5tx"

dreamy phoenix
#

Yep, any off-session payments that require 3DS/auth will error/decline

#

The user isn't on-session to complete the required 3DS flow, so this is expected

sick palm
prisma viper
#

yep, we simulate one of those exemptions in test mode, the "merchant initiated transaction" one

#

which is done by using the 3155 test card with an off_session:true PaymentIntent

#

we don't simulate any other exemptions

sick palm
#

if you check my PI "pi_3KsqP2H0mp7J0S260RSIy5tx" you see i used off_session:true but it fails again

prisma viper
#

are you using the 3155 card?

#

that's the only one that simulates this

sick palm
#

alright

#

is there a way to bypass second time authentication?

prisma viper
#

yep, we simulate one of those exemptions in test mode, the "merchant initiated transaction" one

sick palm
#

can you please share the doc/api link?

#

here is another PI "pi_3Kt9pvH0mp7J0S2602uIFhIV"

prisma viper
prisma viper
#

if you did that same process but using the card ending in 3155 that I mentioned and linked to above then it would get an exemption and succeed

#

well, I say that, but you seem to be missing a part, are you not using a SetupIntent first to set up the card?

sick palm
#

3155 is also getting failed on this PI "pi_3Kt9vmH0mp7J0S261w0pDPih"

prisma viper
#

you said " I followed this doc https://stripe.com/docs/payments/save-and-reuse ." but in your logs you never create an confirm a SetupIntent. That's how it works. You accept the card first using a SetupIntent which does authentication. After that, you can do an off-session PaymentIntent and it can get an exemption

Learn how to save card details and charge your customers later.

prisma viper
sick palm
#

ohky. alright alright

sick palm