Stripe decline code · By Hanzalah Seikhai, Stripe developer
Stripe authentication_required: fixing 3D Secure declines on checkout and off-session charges
authentication_required means: The bank wants 3D Secure or another strong authentication before it approves.
Retry? Yes, after the customer authenticates.
Why it happens
- European and other regulated cards need strong customer authentication. If the payment is confirmed without the 3D Secure step, the bank declines with this code.
- It is common on off-session charges, such as a subscription renewal or a saved card charged later, because the customer is not there to authenticate.
What to do
- Use Stripe Checkout, the Payment Element or PaymentSheet. They run 3D Secure automatically when the bank asks.
- For saved cards, create a SetupIntent or use setup_future_usage when the card is first collected, so the card is authenticated for later use.
- When an off-session charge still needs authentication, the PaymentIntent goes to requires_action. Email the customer a link to a page that confirms that PaymentIntent on session. For subscriptions, handle invoice.payment_action_required.
Where to find the code
In the Stripe Dashboard, open the failed payment and read the decline reason. In code, the error from the API has decline_code next to code: card_declined. Some errors also carry an advice_code that says whether a retry can work.
If declines like this are hurting your conversions, I find the cause in your integration and fix it as a fixed-price job. Hire me on Upwork or send the error. All codes are on the Stripe decline codes page.