#thomasnevink
1 messages · Page 1 of 1 (latest)
Hi there!
If a PaymentIntent has status: requires_action, then you have to tell your customers to come back to your website/app and confirm the PaymentIntent on the frontend to go though the 3DS flow. There's no other way.
So there is no other way to test a card payment entirely on the server side? This is just for testing purposes
Yes you can, just use a test card that doesn't require 3DS.
You can view all our test cards here: https://stripe.com/docs/testing
I have used pm_card_authenticationRequiredSetupForOffSession, but it doesn't go through, it requests for 3DS
Yes, this requires 3DS. Why not use pm_card_visa instead?
I won't close this now, but thread get automatically closed after a while. If that happens, feel free to reopen a new thread.
Tested my code with pm_card_visa, still getting requires_action as status
Can you share the PaymentIntent ID (pi_xxx)?
Thanks! Give me a few minutes to look into this.
ok
The PaymenTIntent you shared is using pm_card_authenticationRequiredSetupForOffSession: https://dashboard.stripe.com/test/logs/req_IYg9xK1G63ULvO
Can you try with pm_card_visa as mentioned earlier?
Oh wait, I'm wrong.
Yes, I will try once again
Here you did set the correct PaymentMethod: https://dashboard.stripe.com/test/logs/req_OYNEexoA0dn1H3
Testing now
Tested my code with pm_card_visa, still getting requires_action as status
pi_3Nvcf9SAXIBNGNHB1F53TyB2
@frank quiver u there?
This PaymentIntent looks correct, checking why 3DS was requested...
ok, thanks
I think the issue is that you account is in India. Based on this: https://support.stripe.com/questions/3d-secure-authentication-for-international-card-payments-to-indian-businesses
Starting July 28, 2021, all international card payments made to new Indian Stripe accounts created after this date will go through 3D Secure (3DS) authentication.
Yh, I had seen this
Let me try with a US stripe account
Testing
Yeah, it works
Thank you for your help
Happy to help!
What do you mean by this?
In Response body, there is a field called "invoice", is there any way I can set this?
No, unless the PaymentIntent was created via an Invoice.
Ok