WooCommerce Payments provides a payment gateway with an integrated dashboard for managing transactions. This document provides instructions for testing payments, and payment-related functionality with WooCommerce Payments. To learn more about WooCommerce Payments, including how to set it up on your store, see the start up guide.
Enable Test Mode ↑ Back to top
By default, WooCommerce Payments operates in Live Mode to accept real debit or credit cards. To test payments or disputes, or view transactions previously processed in test mode, you need to switch WooCommerce Payments into Test Mode.
To enable Test Mode:
- Go to Payments > Settings
- Click Test Mode
- Click Save changes

Don’t forget to disable Test Mode when you’re ready to start accepting real payments or to view real transactions.
Test Transactions ↑ Back to top
When Test Mode is enabled, the Payments administration screens will display only test transactions. This includes transactions shown on the Deposits, Transactions and Disputes screens.
To help track when a screen is being viewed with Test Mode enabled, a notice is displayed at the top of the screen.

Test Card Payments ↑ Back to top
To simulate a payment with WooCommerce Payments:
- Enable Test Mode if it’s not already enabled.
- Go to your shop page
- Add a product to the cart.
- Go to your store’s checkout page (e.g. example.com/checkout/).
- Complete checkout form fields.
- Enter the number of test card below.
- Enter any date in the future.
- Enter any 3 digit CVC, other than 123.
- Click Place order.
- Go to Payments > Transactions in your store’s administration dashboard. You should see the Charge show up.
The order will be processed as if using a real credit card.
Test card numbers ↑ Back to top
To test payments, the following test card numbers can be used with:
- Any date in the future as the expiration month / year
- Any 3 digit CVC value
Number | Card Brand |
4242 4242 4242 4242 | Visa |
4000 0566 5566 5556 | Visa (debit) |
5555 5555 5555 4444 | Mastercard |
5105 1051 0510 5100 | Mastercard (prepaid) |
3782 8224 6310 005 | American Express |
6011 1111 1111 1117 | Discover |
Country specific test card numbers ↑ Back to top
Cards issued outside the country or region of the WooCommerce Payments account can incur an additional fee. To test an international payment, the following Visa branded test card numbers can be used with:
- Any date in the future as the expiration month / year
- Any 3 digit CVC value
Number | Country |
4000 0003 6000 0006 | Australia (AU) |
4000 0004 0000 0008 | Austria (AT) |
4000 0005 6000 0004 | Belgium (BE) |
4000 0007 6000 0002 | Brazil (BR) |
4000 0012 4000 0000 | Canada (CA) |
4000 0025 0000 0003 | France (FR) |
4000 0027 6000 0016 | Germany (DE) |
4000 0037 2000 0005 | Ireland (IE) |
4000 0038 0000 0008 | Italy (IT) |
4000 0048 4000 8001 | Mexico (MX) |
4000 0052 8000 0002 | Netherlands (NL) |
4000 0055 4000 0008 | New Zealand (NZ) |
4000 0061 6000 0005 | Poland (PL) |
4000 0062 0000 0007 | Portugal (PT) |
4000 0072 4000 0007 | Spain (ES) |
4000 0075 6000 0009 | Switzerland (CH) |
4000 0082 6000 0000 | United Kingdom (UK) |
4000 0582 6000 0005 | United Kingdom (UK) – Visa Debit |
Supported Card Brands ↑ Back to top
WooCommerce Payments supports all the cards that are supported by Stripe itself. Please head over to Card brand capabilities section of the Stripe documentation for more details.
3D Secure Test Card Numbers ↑ Back to top
The following card numbers can be used to test payments that require additional verification step via both checkout and the Pay for Order pages.
To test 3D Secure transactions, these test card numbers can be used with:
- Any date in the future as the expiration month / year
- Any 3 digit CVC value
Number | Additional Verification |
4000 0000 0000 3220 | Required. |
4000 0000 0000 3055 | Supported, not required. |
3782 8224 6310 005 | Not supported. |
Testing Deposits ↑ Back to top
You may need to conduct test payments at some time to ensure that deposits are operating properly. For most Stripe users, there is no minimum deposit amount. However, there are some exceptions – Please refer to the following Stripe documentation page to know more details.
Test Payment Request buttons ↑ Back to top
Test Apple Pay in Safari ↑ Back to top
To learn how to simulate a test purchase with Apple Pay, please head over to Testing Apple Pay.
Test Payment Request button in Chrome, Edge, Opera or Brave ↑ Back to top
To test paying with Payment Request buttons with WooCommerce Payments:
- Enable Test Mode if it’s not already enabled.
- Add a test card to your browser’s payment methods.
- Go to a product page and click the “Buy now” button.
- Enter checkout details in the Payment Request dialog.
- Click Pay.
- Go to Payments > Transactions in your store’s administration dashboard. You should see the Charge show up.
Test Refunds ↑ Back to top
To test a refund:
- Complete the steps to Test Card Payments.
- Go to WooCommerce > Orders.
- Click the order ID of the order created with a test card.
- Click Refund.
- Enter the refund amount & reason (optional).
- Click Refund via WooCommerce Payments.
- Go to Payments > Transactions.
- Confirm the refund transaction is listed.

Test Manual Captures ↑ Back to top
To test a card payment authorization with manual capture:
- Go to Payments > Settings.
- Enable Manual Capture.
- Complete the steps to Test Card Payments.
- Go to WooCommerce > Orders.
- Click the order ID of the order created with a test card.
- Confirm the order has a note saying: A payment of $xx.xx was authorized using WooCommerce Payments.
- Click Choose an action.
- Click Capture charge.
- Click Update.
- Confirm the order has a note saying: A payment of $39.00 was successfully captured using WooCommerce Payments.
- Go to Payments > Transactions.
- Confirm a transaction with type Charge is listed.

Test Disputes ↑ Back to top
To simulate a dispute with WooCommerce Payments:
- Enable Test Mode if it’s not already enabled.
- Go to your shop page
- Add a product to the cart.
- Go to your store’s checkout page, e.g. example.com/checkout/
- Complete checkout form fields.
- Enter one of the test card numbers that results in a dispute.
- Click Place order.
The order will be processed as if using a real credit card. The payment will be immediately disputed. You can then view and respond to the dispute by going to Payments > Disputes in your WordPress dashboard.
Test cards for disputes ↑ Back to top
The following card numbers can be used with:
- Any date in the future as the expiration month / year
- Any 3 digit CVC value
Number | Scenario |
4000 0000 0000 0259 | Payment disputed as “Fraudulent.” |
4000 0000 0000 2685 | Payment disputed as “Product Not Received.” |
Test dispute responses ↑ Back to top
After creating a dispute with a dispute test card, to test dispute responses:
- Go to Payments > Disputes
- Click ⓘ next to the dispute
- Click Challenge Dispute
- In the Additional Details field:
- Enter
winning_evidence
to win the dispute - Enter
losing_evidence
to lose the dispute
- Enter
