Advertisement

2Checkout Test Card Numbers

The test cards 2Checkout (now part of Verifone) documents for card test orders, the cardholder names that trigger each result, and how to place a test order from the Merchant Control Panel.

Advertisement

Test card numbers

Any expiration date, any CVV and any billing currency.

BrandNumberResultNotesCopy
Visa4111 1111 1111 1111Valid card – result set by nameany expiry · any CVV
Mastercard5555 5555 5555 4444Valid card – result set by nameany expiry · any CVV
American Express3782 822463 10005Valid card – result set by nameany expiry · any CVV
Discover6011 1111 1111 1117Valid card – result set by nameany expiry · any CVV
JCB3566 1111 1111 1113Valid card – result set by nameany expiry · any CVV

Source: 2Checkout (Verifone) docs – Card test orders, 2Checkout (Verifone) docs – Place test orders from the Merchant Control Panel · checked October 2026. Sandbox only — these numbers never work for real payments.

Advertisement

How 2Checkout test cards work

2Checkout doesn’t use a separate sandbox account. You place test orders in your normal account once the testing system is enabled for it, using a test buy-link: generate one under Setup › Generate links › Checkout Links and click Place a test order, or add DOTEST=1 to a buy-link yourself. Without the testing system, DOTEST has no effect.

Use any expiration date, any CVV and any billing currency. The result comes from the cardholder name: John Doe approves the order and all renewals, Mona Doe fails with insufficient funds, Angela Doe with an expired card, and so on. Two names approve the first order but make automatic renewals fail, so you can test subscription dunning without waiting for a real renewal.

Billing details can be fictitious, but use an email address you control so you receive the 2Checkout notifications and can sign in to myAccount. If you sell software, make sure your fulfilment recognises test orders — otherwise your key generator may deliver real license keys for them.

Cardholder names that trigger each case

Enter one of these names as the cardholder name with any test card:

Cardholder nameResult
John DoeApproved: initial order and all recurring charges
Mike DoeApproved initial and manual renewals; recurring charges fail with Insufficient Funds
Jenny DoeApproved initial and manual renewals; recurring charges fail with Stolen Card
Mona DoeInsufficient funds
Mark DoeTry again later
Red DoeStolen card
Joy DoeAuthentication failed
Angela DoeExpired card
Adrian DoeInvalid card number
Jack DoeInvalid CVV (security code)
Advertisement

Testing 2Checkout payments step by step

  1. Make sure the testing system is enabled for your 2Checkout account.
  2. Generate a test buy-link in the Merchant Control Panel (Setup › Generate links › Checkout Links).
  3. Pay with 4111 1111 1111 1111 and the name John Doe to test a successful new acquisition.
  4. Repeat with the decline names to check each error message in your flow.
  5. Buy a subscription as Mike Doe or Jenny Doe, then run the renewal to test failed recurring charges.

Common errors and fixes

DOTEST=1 is ignored
The testing system isn’t enabled for your account; DOTEST has no effect without it.
Real license keys sent for test orders
Make your fulfilment (dynamic key generator) recognise test orders.
Renewal tests fail to start
Automatic renewals, trial conversions and upgrades need an earlier test order that created a subscription.

Sources

Every number on this page was copied from 2Checkout’s official documentation and passes the Luhn check. Checked October 2026; gateways change their test data from time to time, so if a number stops working, check the source:

Test cards only work in 2Checkout’s sandbox or test mode. To test your own form validation before a request reaches the gateway, use our card number generator and validator. Never use real customer cards in test environments.

Frequently asked questions

What is the 2Checkout test credit card number?

4111 1111 1111 1111 (Visa) with any expiration date and CVV, and the cardholder name John Doe for an approved order.

How do I test a declined payment in 2Checkout?

Use a test card with a decline name, for example Mona Doe (insufficient funds), Red Doe (stolen card) or Jack Doe (invalid CVV).

Is 2Checkout the same as Verifone?

Verifone acquired 2Checkout in 2020 and now publishes its documentation; the product keeps the 2Checkout name.

Can I use these test cards on another gateway?

Usually not. Each gateway only recognises its own documented test numbers in its own sandbox. Some numbers, such as 4111 1111 1111 1111, appear in several lists, but the results they trigger differ. For format-only testing on your own forms, use our card generator.

Related tools

Advertisement