Skip to main content
Test mode lets you run a real checkout end to end - checkout, upsells, one-click purchases and subscription renewals - on a live merchant, without moving any money. You add your merchant’s test key to the checkout URL and pay with a test card. The card number decides the result: approved, declined, insufficient funds, and so on. It works the same on Stripe, NMI and Authorize.Net. You do not need sandbox credentials from the gateway: in test mode, ElasticFunnels simulates the gateway’s response and never contacts the gateway.

Set up your test key

  1. Go to Settings → Merchants → pick your Stripe, NMI or Authorize.Net merchant → Edit.
  2. Make sure Live Mode is on. The Test Key field appears.
  3. Enter a secret key: 8 to 64 letters and numbers, for example qa7Hx29pLm.
  4. Save.
Treat the test key like a password. Anyone who has it can place test orders on your checkout, and those orders are not charged. Don’t put it in ads, emails or affiliate links. Change it if it leaks.

Place a test order

Open your checkout (or any funnel page that leads to it) with ?test= and your key:
The card form switches to plain card fields, and only test cards are accepted. Enter any future expiry date (for example 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.

Troubleshooting

The card form still shows the Stripe, NMI or Authorize.Net secure fields. The key didn’t match. It is case-sensitive and must be exactly the value saved on the merchant that this checkout uses. If a funnel or domain routes to a different merchant, use that merchant’s key. “Test mode: use a test card”. You’re in test mode and the number isn’t one of the test cards. Copy one from the tables above. The test key field isn’t shown. Turn Live Mode on. The field is only needed, and only shown, for live merchants.