#krishna1433-payments
1 messages · Page 1 of 1 (latest)
you confirm the PaymentIntent (it should be with off_session if you're charging saved details), inspect the error, then contact the customer to come back to your site and confirm the PaymentIntent again, on the frontend, so it can automatically present 3D Secure.
Let me check and get back pls don't archive
what are you checking exactly?
I actually don't see any error
yes, because you are not passing off_session
if you're charing a saved card, you should pass off_session:true to indicate that you are charging a saved card(and then if that fails, you get an error). That link I posted covers it in detail.
Oh okay, so you are saying, that I should be sending off_session as true for saved card payment
yes that is what I said.
does this mean 3D secure cards can not be used without authentication?
*The card issuer returned a decline code of authentication_required.
The card was declined as the transaction requires authentication.
The customer should try again and authenticate their card when prompted during the transaction. If the card issuer returns this decline code on an authenticated transaction, the customer may need to contact their card issuer for more information.*
and I should now be using this
If the payment failed due to an authentication_required decline code, use the declined PaymentIntent’s client secret and payment method with confirmCardPayment to allow the customer to authenticate the payment.
yes, but it depends
when you charge a saved card, it might require 3D Secure, and then you have to handle that, yes, that is a normal part of doing payments. Same thing happens if you charge the saved card and it gets declined, you have to notify the customer and get them to try a different card
the way you avoid this where possible is by using our integrations(setting up the card and doing the off-session payment later). If you test with the 3155 card from https://stripe.com/docs/testing#regulatory-cards , that card will not require 3D Secure on off-session payments if you have the integration set up correctly.