• Features
  • Pricing
  • Demos
  • Blog
  • Account
  • Docs
  • Support
  • Updates

CheckoutWC

  • Features
  • Pricing
  • Demos
  • Blog

Test WooCommerce Orders Without Real Transactions

March 20, 2025 by Ian Misner in WooCommerce Tips

Table of Contents

  • Why sandbox testing is the best way to test WooCommerce orders
  • Testing orders with common payment gateway sandboxes
  • WooCommerce Payments
  • Stripe
  • PayPal
  • Make sure to test your checkout flow with CheckoutWC
  • Start testing your store with confidence

Regularly testing out orders is super important to make sure your WooCommerce store runs smoothly from launch and beyond. This means checking that the checkout process works, but also making sure customers have a great experience. This gives you the chance to check several key areas:

  • Payment gateway integrations: Test sandbox modes for every enabled gateway, including express checkout options.
  • Order flow verification: Confirm inventory updates, email triggers, and status changes are processed correctly.
  • Plugin compatibility: Make sure everything works, especially subscription plugins, shipping calculators, and checkout enhancers.
  • Mobile responsiveness: Test both one-page and multi-step checkout experiences to guarantee a smooth mobile experience.
  • Regression testing: This is especially important after WooCommerce or payment gateway updates.

In this article, we’ll walk you through why sandbox testing is your safest bet for testing orders and show you how to set it up with popular payment gateways for WooCommerce.

Why sandbox testing is the best way to test WooCommerce orders

A sandbox environment is a duplicate of your live store, where you can check everything – payment processing, order notifications, and inventory management – without affecting any real money or actual stock. It’s the correct way to simulate transactions, ensuring everything works without risking your store’s data.

Most major payment gateways, including WooPayments, Stripe, and PayPal, provide built-in sandbox modes. These environments let you simulate transactions using test card numbers, ensuring the gateway functions exactly as it would in the live environment, minus the real money exchange. This means you can test everything from successful payments to declined transactions, all without the stress of handling real funds.

When setting up sandbox testing, it’s crucial that all plugins in your purchase flow work correctly with test orders. Various plugins managing inventory, email notifications, customer rewards, or order tracking might still trigger live systems during testing if not properly configured. Comprehensive testing requires every component in your checkout process to recognize test transactions and behave appropriately. This ensures you can thoroughly verify your complete checkout experience without worrying about corrupting production data.

Testing orders with common payment gateway sandboxes

Setting up test modes and sandbox environments for popular payment gateways is key to ensuring your WooCommerce checkout functions smoothly without any real transactions. Below, we’ll walk you through the process of enabling test modes and using test transactions for WooCommerce Payments, Stripe, and PayPal.

WooCommerce Payments

WooCommerce Payments has a simple process for enabling test mode. To get started, navigate to WooCommerce > Settings > Payments and select WooCommerce Payments. There, you’ll find an option to enable Test Mode.

Then, you need to test cards for the transactions, and WooCommerce lets you test both successful and unsuccessful payments. This works by using special card numbers for the type of transaction you want to try out. 

For successful payments, there are a number of cards you can use, depending on your country. For the United States, these are the options: 

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


⚠️Using a card that’s not from the same country as your registered business will result in additional “test” fees on the transaction. This testing is still helpful for online stores with customers from all over the world as it helps you get an idea of how much you should charge for your products, considering the fees people will have to pay. 

For this example, we’ll use the test card number 4242424242424242 with any digits for the expiry date and CVC code. 

Using a test card for a purchase in WooCommerce
Using a test card for a purchase in WooCommerce

This simulates a transaction that will go through without any issues, and you should get the following confirmation:

Order confirmation page for a successful transaction
Order confirmation page for a successful transaction

You can also test declined transactions by simulating different types of failures and see how your system handles declined payments. You could test a generic decline or something more specific, such as insufficient funds, lost/stolen cards, incorrect CVC, and more. 

Here are the card numbers for each use case: 

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
Exceeding velocity limit4000 0000 0000 6975


The process is the same as with the previous example – just put in the order using the test card of your choice. 

Example of an unsuccessful payment in WooCommerce
Example of an unsuccessful payment in WooCommerce

This system allows you to test different payment methods, not just cards, including express checkout, “Buy now, pay later,” and SEPA, as well as refunds and disputes. We recommend taking the time to test every relevant method before your site goes live so that your clients can enjoy a smooth online shopping experience. 

After completing your test orders, head to WooCommerce > Payments > Transactions to ensure the test transactions appear. They’ll be labeled as “Test,” so you can easily distinguish them from real orders.

Orders table in WooCommerce with one failed and one processing transaction
Orders table in WooCommerce with one failed and one processing transaction

Stripe

Stripe’s sandbox environment is powerful, allowing you to test various scenarios, including 3D Secure authentication. 

Before you begin, make sure that the testing environment is enabled: 

Enabling test mode for Payment Plugins for Stripe
Enabling test mode for Payment Plugins for Stripe

Here’s how to set it up:

  1. In your Stripe dashboard, go to Developers > API Keys to get your test keys. You’ll need the test publishable and secret keys for WooCommerce integration.
Stripe API keys for a testing environment
Stripe API keys for a testing environment
  1. Find the API settings area for Stripe depending on your payment plugin choice. We’re using Payment Plugins for Stripe, so we need to go to their settings and enter the test keys in the appropriate fields.
Pasting the Stripe API keys in the plugin’s settings
Pasting the Stripe API keys in the plugin’s settings
  1. To test 3D Secure authentication, use the test card 4000002760003184. This will simulate a 3D Secure transaction and let you check how your site handles additional authentication steps.
Example of a 3D Secure authentication for a WooCommerce order
  1. You can see all your test transactions by navigating to Stripe’s transactions dashboard, which will display detailed information about each transaction you simulate.
Stripe transactions dashboard
Stripe transactions dashboard

PayPal

PayPal also provides an easy-to-use sandbox environment for testing orders, ensuring that payments and notifications work smoothly. Start by creating sandbox merchant and customer accounts through the PayPal Developer Portal. This will allow you to simulate both sides of the transaction process.

PayPal sandbox accounts
PayPal sandbox accounts

Then, head to the PayPal settings of your plugin and connect the business sandbox account to WooCommerce.

PayPal payments settings – enabling the sandbox environment and placing the keys
PayPal payments settings – enabling the sandbox environment and placing the keys

With both merchant and customer sandbox accounts set up, perform test transactions to simulate purchases, refunds, or cancellations.

  1. Click the PayPal button on the checkout page. 
PayPal purchase button on a checkout page
PayPal purchase button on a checkout page
  1. Complete the purchase as a client would. 
Example of completing a transaction through PayPal
Example of completing a transaction through PayPal
  1. Wait for order confirmation to make sure everything has gone through. 
Example of an order confirmation page with a PayPal payment
Example of an order confirmation page with a PayPal payment

Finally, ensure that PayPal’s Instant Payment Notification (IPN) system is working by confirming that notifications are properly sent and received when completing test orders. 

Make sure to test your checkout flow with CheckoutWC

CheckoutWC homepage
CheckoutWC homepage

CheckoutWC is a powerful plugin that vastly improves the WooCommerce checkout process. It has a range of features designed to increase conversions and improve the customer experience, such as one-page checkouts, order bumps, and more. One of the key advantages of CheckoutWC is its perfect integration with various payment gateway sandbox environments, ensuring a smooth testing process without any glitches.

As a matter of fact, all the testing we’ve just shown you was completed with one of the Checkout WC page templates, so you can see for yourself how it integrates with different payment gateways. When testing your WooCommerce checkout with CheckoutWC, you can confidently try out different payment methods without worrying about compatibility issues. Here are a few examples of what you can test:

  • Express payment options: Test methods like Apple Pay and Google Pay in sandbox mode to ensure they work properly during the checkout process.
Google Pay purchase button on a checkout page
Google Pay purchase button on a checkout page
  • Order bump functionality: Verify that order bumps, which allow customers to add additional products to their cart, function correctly in the test environment.
Example of an order bump
Example of an order bump
  • Side cart behavior: Confirm that side cart features perform as expected with test transactions.
Side cart example

Testing your checkout flow will help you confirm the proper functionality of your store and also ensure that the checkout process feels intuitive for your customers. 

As Clifton Griffin, Founder at CheckoutWC, says, 

“If you want to be effective, you must approach your checkout process testing from two different perspectives. First, you need to ensure everything is working from a technical standpoint and immediately fix any such issues. Second, you need to go through the process from a user standpoint and think about whether the UX is up to your standards and you’re not confusing customers with your checkout page, making them abandon their purchase.”

Start testing your store with confidence

Testing your WooCommerce orders is just the first step in ensuring a smooth customer experience. To keep things running smoothly, make sure you do the following: 

  • Establish a regular testing schedule – especially before major updates or sales events. 
  • Monitor payment gateway logs and transaction reports to catch potential issues early. 
  • Document your testing process, including sandbox credentials and test card numbers, so you can refer back to them as needed.

CheckoutWC’s built-in compatibility with popular payment gateway test modes lets you combine thorough testing with an optimized checkout flow, so you’re setting the stage for sustainable eCommerce growth.

Don’t wait! You can test as much as you want, but if your checkout process is lacking, you’re losing sales every minute. If this is what you need, CheckoutWC is your perfect partner – get started today and see how it can help increase your store sales. 

Previous Article

Setting Up Express Checkout Buttons in WooCommerce

Next Article

WooCommerce Cart Optimization: Skip-to-Checkout Strategies

Ian Misner

Cofounder and General Manager at Kestrel, makers of CheckoutWC. Kestrel’s WooCommerce tools power over 10,000 stores, helping agencies and merchants build faster, more reliable, higher-converting stores that scale.

Share this Post

TweetLinkedInShareEmail

Table of Contents

  • Why sandbox testing is the best way to test WooCommerce orders
  • Testing orders with common payment gateway sandboxes
  • WooCommerce Payments
  • Stripe
  • PayPal
  • Make sure to test your checkout flow with CheckoutWC
  • Start testing your store with confidence

The simplicity of Shopify with the power of WooCommerce. Replace your WooCommerce checkout page with CheckoutWC to boost sales and reduce cart abandonment.

Get Started

Supercharge your checkout page

Reduce abandoned checkouts and unhappy customers with a drop-in solution that just works.
Start Selling More
You won't regret it. We pinky swear.

Account

  • Account
  • Log In
  • Affiliate Program
  • Affiliate Agreement
  • Terms and Conditions and Refund Policy

Product

  • Features
  • WooCommerce Checkout Block Alternative
  • Flux Checkout vs CheckoutWC
  • CartFlows vs CheckoutWC
  • FunnelKit vs CheckoutWC
  • CheckoutWC Demos
  • Testimonials
  • Leave a Review

Support

  • Documentation
  • Support
  • Contact
  • Need a Developer?

Our Good Friends

  • WP Sent Mail
  • Advanced Content Templates

Making the world a better place one WooCommerce checkout at a time and one support request at a time.

Made with by KestrelWP Icon Kestrel

Subscribe & Discount

Stay up to date and never miss a promotion, freebie, or update! Get a 10% OFF DISCOUNT for any premium plan for your first subscription year.

Copyright © 2025 CheckoutWC, All rights reserved.