How to test WooCommerce checkout without real payments
To test your WooCommerce checkout without real payments, switch each payment gateway to its test (sandbox) mode, then place orders with the gateway’s test card numbers or sandbox accounts. No money moves, and you still see the order emails, stock changes, and status updates a live order would trigger. Steps for WooPayments, Stripe, and PayPal follow, plus how to check the rest of your checkout while you test.
Run these tests before launch, after a WooCommerce or gateway update, and before a big sale. Each pass should cover:
- Payment gateways: every enabled gateway in test mode, including express checkout buttons.
- Order flow: stock levels, order emails, and status changes.
- Plugin compatibility: subscriptions, shipping calculators, and anything else that touches checkout.
- Mobile: the checkout on a real phone, in whichever layout you use (multi-step or one page).
Why test mode beats a real small order
A test or sandbox mode lets you run the whole purchase (payment, notifications, stock) without moving real money. Most major gateways, including WooPayments, Stripe, and PayPal, have one. You can test successful payments and declines on demand, which a real card never lets you do.
Plugins in your purchase flow can still reach live systems while you test, such as inventory, email, rewards, or order tracking tools, unless they recognize test orders. Place a test order and check each of them, so a test never touches production data.
How to test WooCommerce checkout with each gateway
WooPayments
Open WooCommerce » Settings » Payments, go to the WooPayments settings and turn on test mode (WooCommerce’s WooPayments testing guide has the current steps). Then use a test card. For stores in the United States, these work:
| Number | Brand | Expiry | CVC |
|---|---|---|---|
| 4242 4242 4242 4242 | Visa | Any future date | Any three digits |
| 4000 0566 5566 5556 | Visa (debit) | Any future date | Any three digits |
| 5555 5555 5555 4444 | Mastercard | Any future date | Any three digits |
| 5105 1051 0510 5100 | Mastercard (prepaid) | Any future date | Any three digits |
| 3782 8224 6310 005 | American Express | Any future date | Any three digits |
| 6011 1111 1111 1117 | Discover | Any future date | Any three digits |
Test cards issued in a country other than your business’s add the extra fees real cross-border cards would, which is useful for judging what international customers cost you. Other countries have their own cards (see the WooPayments test card list).

This simulates a payment that goes through, and you should land on the order confirmation page:

To see how your store handles failures, repeat the order with a decline card:
| Scenario | Card number |
|---|---|
| Generic decline | 4000 0000 0000 0002 |
| Insufficient funds | 4000 0000 0000 9995 |
| Lost card | 4000 0000 0000 9987 |
| Stolen card | 4000 0000 0000 9979 |
| Expired card | 4000 0000 0000 0069 |
| Incorrect CVC | 4000 0000 0000 0127 |
| Processing error | 4000 0000 0000 0119 |
| Incorrect number | 4242 4242 4242 4241 |
| Exceeding velocity limit | 4000 0000 0000 6975 |

Wallets, buy now pay later, SEPA, refunds, and disputes can be tested the same way, so work through every method you offer before you go live. After your test orders, open the transactions list in WooPayments to confirm they appear, marked as test transactions.

Stripe
Stripe’s test mode also lets you try 3D Secure. Switch your Stripe plugin to test mode first (the screenshot uses Payment Plugins for Stripe):

- In your Stripe dashboard, open Developers » API keys and copy the test publishable and secret keys.
- Paste them into the test key fields in your Stripe plugin’s settings.
- Place an order with a test card from the tables above. To test 3D Secure, use 4000 0027 6000 3184.
- Check the payment in Stripe’s test transactions list.


PayPal
PayPal runs a separate sandbox. Create a sandbox business (merchant) account and a sandbox personal (customer) account in the PayPal Developer portal, then connect the business account in your PayPal plugin’s settings with its sandbox option turned on.


Then place an order: click the PayPal button on the checkout page, sign in with the sandbox customer account, complete the payment, and wait for the confirmation page. Repeat with a refund and a cancellation. If your plugin relies on Instant Payment Notification (IPN), confirm the notification arrives and the order status updates.


Test the rest of your checkout with CheckoutWC
A payment going through is half the test. If you use CheckoutWC, also place test orders that exercise these:
- Express checkout: Apple Pay and Google Pay buttons come from your gateway plugin. Check the buttons appear and complete in test mode; the express checkout guide lists supported gateways and why a button might not show.
- Order bumps: add the bump, place the order, and confirm it lands on the order with the right price. The order bumps guide covers the settings.
- Side cart: add items, apply a coupon, and go through checkout from the side cart.


To compare against WooCommerce’s own checkout, add ?bypass-cfw=true to the checkout URL. If a problem also shows up there, CheckoutWC isn’t the cause. To try changes before customers see them, set the Checkout Editor to Preview: only logged-in administrators see CheckoutWC until you switch it to Live. See Troubleshoot CheckoutWC for the other ways to switch it off for a test.
Keep your test routine going
- Set a schedule: before updates, before sales events, and after changing gateways or shipping.
- Check gateway logs and transaction reports for failed or declined payments.
- Write down your test credentials and card numbers so anyone on the team can repeat the test.
- Trash your test orders when you finish, so they don’t skew your reports.
Test from two sides: confirm that every payment works technically, then go through it as a customer and ask whether anything would make you hesitate. CheckoutWC replaces the checkout with a faster, clearer one, so you test and improve in the same pass. See CheckoutWC plans, one plan with every feature.
The simplicity of Shopify with the power of WooCommerce. Replace your WooCommerce checkout page with CheckoutWC to boost sales and reduce cart abandonment.