Stripe decline code · By Hanzalah Seikhai, Stripe developer
Stripe incorrect_cvc and invalid_cvc: what to show and when it is not the customer
incorrect_cvc means: The security code on the back of the card does not match.
Retry? Yes, with the right CVC.
Why it happens
- The customer typed the wrong 3 or 4 digit code.
- If it happens on saved cards charged later, the CVC check may have failed when the card was saved and a Radar rule now blocks it.
What to do
- Show a clear message next to the CVC field and let the customer try again.
- In Radar settings, check whether you block on failed CVC. That is usually right, but make sure the message tells the customer what to fix.
- Do not log or store the CVC yourself. Stripe Elements keeps it off your server.
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.