To place a test order in test mode:

  1. Go to your site’s shop and add a product to your cart.
  2. Proceed to the checkout page and fill out the form.
  3. Enter a test card number, expiry date, and CVC code.
  4. Place your order.

The order will be processed just as if you had used a real card.

After you’re taken to the Order received page, you can go back into your site’s dashboard and find the test transaction in all the usual places, including under WooCommerce > Orders and in the list on the Payments > Transactions page.

Test cards

To test payments, the following test card numbers should be used:

NUMBERBRANDEXP. DATECVC CODE
4242 4242 4242 4242VisaAny future dateAny three digits
4000 0566 5566 5556Visa (debit)Any future dateAny three digits
5555 5555 5555 4444MastercardAny future dateAny three digits
5105 1051 0510 5100Mastercard (prepaid)Any future dateAny three digits
3782 8224 6310 005American ExpressAny future dateAny three digits
6011 1111 1111 1117DiscoverAny future dateAny three digits

Country-specific test cards

Cards issued outside the country or region of your WooPayments account can incur additional fees in live mode. To test an international payment, use the following info.

NUMBERCOUNTRYEXP. DATECVC CODE
4000 0003 6000 0006Australia (AU)Any future dateAny three digits
4000 0004 0000 0008Austria (AT)Any future dateAny three digits
4000 0005 6000 0004Belgium (BE)Any future dateAny three digits
4000 0007 6000 0002Brazil (BR)Any future dateAny three digits
4000 0012 4000 0000Canada (CA)Any future dateAny three digits
4000 0025 0000 0003France (FR)Any future dateAny three digits
4000 0027 6000 0016Germany (DE)Any future dateAny three digits
4000 0037 2000 0005Ireland (IE)Any future dateAny three digits
4000 0038 0000 0008Italy (IT)Any future dateAny three digits
4000 0048 4000 8001Mexico (MX)Any future dateAny three digits
4000 0052 8000 0002Netherlands (NL)Any future dateAny three digits
4000 0055 4000 0008New Zealand (NZ)Any future dateAny three digits
4000 0061 6000 0005Poland (PL)Any future dateAny three digits
4000 0062 0000 0007Portugal (PT)Any future dateAny three digits
4000 0072 4000 0007Spain (ES)Any future dateAny three digits
4000 0075 6000 0009Switzerland (CH)Any future dateAny three digits
4000 0082 6000 0000United Kingdom (UK)Any future dateAny three digits
4242 4242 4242 4242United States (US)Any future dateAny three digits

3D Secure test cards

The following card numbers can be used to test payments requiring 3D Secure Authentication.

DESCRIPTIONNUMBERDETAILS
Authenticate unless set up4000 0025 0000 3155This card requires authentication for off-session payments unless you set it up for future payments. After you set it up, off-session payments no longer require authentication.
Always authenticate4000 0027 6000 3184This card requires authentication on all transactions, regardless of how the card is set up.
Already set up4000 0038 0000 0446This card is already set up for off-session use. It requires authentication for one-time and other on-session payments. However, all off-session payments succeed as if the card has been previously set up.
Insufficient funds4000 0082 6000 3178This card requires authentication for one-time payments. All payments are declined for insufficient funds even after being successfully authenticated or previously set up.

Declined cards

The following card numbers can be used to test what happens when the payment is declined by the customer’s bank for various reasons.

DESCRIPTIONNUMBER
Generic decline4000 0000 0000 0002
Insufficient funds4000 0000 0000 9995
Lost card4000 0000 0000 9987
Stolen card4000 0000 0000 9979
Expired card4000 0000 0000 0069
Incorrect CVC4000 0000 0000 0127
Processing error4000 0000 0000 0119
Incorrect number4242 4242 4242 4241

Testing express checkouts

How to test each specific express checkout method varies depending on which one you’d like to test. Please see the links below, which go to the dedicated documents for those payment methods, for instructions on how to test them.