#anrighiwr_invoice-payment-3ds

1 messages ยท Page 1 of 1 (latest)

true sableBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1353759365412159561

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

vital hornet
#

HI ๐Ÿ‘‹

Card 3184 with always require 3DS, no matter if it was set up or not. That's how it works

#

You can see the expected behavior for our 3DS test cards here

torpid linden
#

yes i understand that

#

i am trying to make 2 payments using a single payment method

#

setting it up for future_usage

#

and i am testing with both cards:

  • with 3155 i expect to see just 1 SCA flow, and make 2 payments
  • with 3184 i expect to see 2 SCA flows, with 2 payments
#

this happens with Subscription, setting the off_session parameter to true

#

my question is: how can i do the same in Invoices?

#

i tried by setting off_session in payment intent confirmation, but the result is:

  • with 3155 -> 1 SCA flow, and make 2 payments
  • with 3184 -> 1 SCA flow, 1 payment confirmed, 1 payment failed (pi_3R6DBrD5S3Ge4mVN0u94KAU2)
vital hornet
#

This means the Customer is not available to perform 3DS

#

So, if we cannot perform 3DS, the payment fails

torpid linden
#

here in the Subscription works: req_KpExSM7ibx7VRN

#

it returns an incomplete PaymentIntent, that i am able to confirm client-side

#

how can i achieve the same result?

vital hornet
#

That is because you are creating a Subscription. This is an entirely different API with different behavior

#

In the other request, you are calling the /pay endpoint for a specific Invoice. In that scenario, we expect the customer to be immediately available to handle 3DS. IF they are not, the payment fails and you should get your customer on-session to perform 3DS.

torpid linden
#

i tried to pass client-side the payment intent id to perform 3DS, but it gives me back this error: IntegrationError: handleNextAction: The PaymentIntent supplied is not in the requires_action state.

vital hornet
#

That is because we do not enter a requires_action state. The customer needs to be on-session when you call the /pay endpoint.

torpid linden
vital hornet
#

I can't view a link to your dashboard. Can you just provide the ID that starts with req_?

torpid linden
#

req_wfUuvNz1LGBoux

vital hornet
#

Right, because you are still using the card 3184. You need to confirm the Payment Intent in that case.

#

Which is exactly what the error says

torpid linden
#

it worked thank you

vital hornet
#

Happy to help ๐Ÿ™‚