#anrighiwr_invoice-payment-3ds
1 messages ยท Page 1 of 1 (latest)
๐ 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.
- anrighiwr_api, 4 days ago, 43 messages
- anrighiwr_api, 4 days ago, 28 messages
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
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)
With this request: https://dashboard.stripe.com/test/logs/req_SMiWP4n32dqTQJ
You specified off_session: "true"
This means the Customer is not available to perform 3DS
So, if we cannot perform 3DS, the payment fails
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?
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.
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.
That is because we do not enter a requires_action state. The customer needs to be on-session when you call the /pay endpoint.
i tried to call the pay endpoint, but a new error rise: https://dashboard.stripe.com/test/workbench/logs/req_wfUuvNz1LGBoux
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I can't view a link to your dashboard. Can you just provide the ID that starts with req_?
req_wfUuvNz1LGBoux
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
it worked thank you
Happy to help ๐