#yandos-3ds-testing

1 messages · Page 1 of 1 (latest)

hasty minnowBOT
worn island
#

Hello! Can you share an example payment intent ID that's giving you that error?

scarlet forum
#

sure! pi_3ONIGgLlCGlHk0Bf1GXarHUN

worn island
#

Ah, are you trying to test setting up a card with a SetupIntent and then future payments don't require 3DS? If so, you need to be using the 4000002500003155 card instead, not the 4000000000003220 card

scarlet forum
#

ok, could you point me to a description of what 4000002500003155 covers? cant seem to find it on the test cards page

#

I mean it works which is great, but would be good to know why it works haha

worn island
scarlet forum
#

ah cool ok, so for cards that need re-authorisation such as 4000002760003184 how would you handle this using payment elements?

#

I was expecting it to work first time and then after that fail

worn island
scarlet forum
#

but wouldn't that mean the first time it would work (as the 3DS was confirmed) and only after this time I would notify the customer? It seems that even though i'm confirming its still failing the first time

worn island
#

Well what do you mean by "the first time" - do you mean when you're initially setting up the card with a setup intent? Or do you mean the first time you use it in an off-session paymetn intent?

scarlet forum
#

not sure i follow you, i'm not setting up the card with a setup intent

#

$this->stripe->setupIntents->create([
'customer' => $this->createOrGetCustomer(auth()->user()),
'payment_method_types' => ['card'],
'usage' => 'off_session',
]);

#

thats creating the setup intent, i'm then passing through the paymentMethod when creating the payment intent

#

Putting it another way, when using 4000002760003184, what is the initial 3DS confirmation for?

worn island
#

The 4000002760003184 is meant to model a card that would always require 3DS. So even though the Setup Intent is sucessful, the card networks/bank are choosing not to accept any future 3DS exemptions (it's not somethign that should happen often, but it is something you still need to account for)

scarlet forum
#

ok cool, sounds like more of an edge case, thanks for the explanation!