testmode_decline
Stripe test mode rejected the test card.
What just happened
Using a test card in live mode or vice-versa.
Retry strategy
Use the right card for the environment.
What to tell the customer
Test card error. Use a real card in live mode.
Recommended action
Audit your environment configuration.
Want to see what this looks like on your Stripe?
See how often "testmode_decline" hits your Stripe account in the last 30 days — and how much MRR is at risk because of it.
Related codes
Related guides
Soft Decline vs Hard Decline: What They Mean for Your Revenue
Understand the difference between soft and hard payment declines. Learn how to handle each type to maximize recovery and reduce involuntary churn.
How to Find and Size Failed Payments in Stripe (Step-by-Step)
Find every failed payment in your Stripe account, export it, remove retry duplicates, group by decline code, and calculate your real MRR at risk — step by step.
Stripe Billing Recovery Settings: The Recommended Setup
Every Stripe setting that affects failed payment recovery — retries, customer emails, end-of-retry status, card updates, automations — where it lives in the Dashboard and what to set it to.