Free tools / Stripe decline codes / testmode_decline
Stripe decline code: testmode_decline
testmode_decline is one of the decline codes Stripe returns when a card payment fails, in last_payment_error.decline_code on the PaymentIntent or outcome.reason on the Charge. Stripe's label for it is "Test mode decline". Here is what it means, whether a retry can succeed, who can fix it, and what to tell the customer.
- Decline code
- testmode_decline
- Type
- Check your side
- Who can fix it
- You — something on your side
- Will a retry help?
- No: do not retry
What it means
A Stripe test card was used in live mode (or a decline test card in test mode).
Check your side. Check the amount, the currency, the card types you accept and your Stripe or Radar setup before retrying. Depending on the code, the customer may also need another card.
Should you retry?
No: do not retry. No. The bank will refuse the same card as is, or Stripe or the network asked not to try again. Retrying wastes an attempt and can breach the card networks' reattempt rules. Change what is wrong, or ask for another card.
Recommended action
Who can fix it: You — something on your side. Use a real card in live mode.
What to tell the customer
Short and neutral, ready for a checkout error, a billing page or a support reply. No placeholders — ready to paste.
This card cannot be used here. Please pay with a real card, or contact us.
Customer email template
Neutral wording for this situation. Replace {name}, {product}, {link} and {company}.
Hi {name},
Our payment attempt for {product} did not go through. We are checking the payment details and will let you know if anything is needed from you.
Thanks,
{company}Stripe's documentation
Stripe lists this code, with its advice for the customer, in its decline codes reference. The data on this page was last checked against it on 12 November 2026.
Related decline codes
Codes that behave the same way, to read next.
Handling many failed payments? See how FlowMRR helps you prioritize failed Stripe payments by revenue at risk.
Try FlowMRR free