Set up your test key
- Go to Settings → Merchants → pick your Stripe, NMI or Authorize.Net merchant → Edit.
- Make sure Live Mode is on. The Test Key field appears.
- Enter a secret key: 8 to 64 letters and numbers, for example
qa7Hx29pLm. - Save.
Place a test order
Open your checkout (or any funnel page that leads to it) with?test= and your key:
12/30), any 3-digit CVC (4 digits for Amex), and a card number from the tables below.
The key stays active for the rest of the visitor’s session, so the upsells and downsells that follow are simulated too. You don’t need to add ?test= to every page.
Cards that approve
Cards that fail
These are the same numbers as Stripe’s test cards, so a card behaves the same whichever gateway your merchant uses. On Stripe, a decline carries Stripe’s
decline_code (for example insufficient_funds). On NMI and Authorize.Net it carries the matching response text (for example INSUFFICIENT FUNDS).
What happens to a test order
- No money moves. Nothing is sent to Stripe, NMI or Authorize.Net, not even to their sandbox.
- Real cards are refused. A card number that isn’t in the tables above is rejected with “Test mode: use a test card”. Apple Pay and Google Pay are not available in test mode.
- The order is marked as a test. It is recorded like any other order, with the test flag set, so it stays out of your revenue reports. It also carries the test flag in postback URLs (
is_test: true). - Upsells and one-click purchases are approved. They use the simulated card saved by the test checkout.
- Subscriptions renew as tests. A subscription started by a test order renews with a simulated charge, so you can test renewals (for example with a forced bill) without a real card on file.
Test mode vs. sandbox mode
These are two different settings:
Use the test key to check a live funnel without taking it down. Use sandbox mode only when you need the gateway’s own sandbox, for example while building a new integration.
PayPal works differently: its test key switches PayPal checkout to your PayPal sandbox account, because PayPal completes the payment on PayPal’s own pages. Add your sandbox client ID and secret on the PayPal merchant to use it.