Title: Sandbox Payment Gateway for WooCommerce
Author: webmonk
Published: <strong>Est 18, 2021</strong>
Last modified: Meurth 22, 2026

---

Search plugins

![](https://ps.w.org/sandbox-payment-gateway/assets/banner-772x250.png?rev=3488006)

![](https://ps.w.org/sandbox-payment-gateway/assets/icon-256x256.png?rev=3375925)

# Sandbox Payment Gateway for WooCommerce

 By [webmonk](https://profiles.wordpress.org/webmonk/)

[Download](https://downloads.wordpress.org/plugin/sandbox-payment-gateway.zip)

 * [Details](https://cor.wordpress.org/plugins/sandbox-payment-gateway/#description)
 * [Reviews](https://cor.wordpress.org/plugins/sandbox-payment-gateway/#reviews)
 *  [Installation](https://cor.wordpress.org/plugins/sandbox-payment-gateway/#installation)
 * [Development](https://cor.wordpress.org/plugins/sandbox-payment-gateway/#developers)

 [Support](https://wordpress.org/support/plugin/sandbox-payment-gateway/)

## Description

Sandbox Payment Gateway eliminates the need to create coupons or configure real 
payment gateways when testing your WooCommerce checkout. It provides two fake payment
methods that simulate real checkout behavior without processing any actual payments.

#### Sandbox Credit Card

Accepts any valid credit card number with Luhn algorithm validation, expiry date
checks, and CVV verification.

#### Sandbox ACH / eCheck

Accepts check name, routing number (9 digits), and account number (4-17 digits).
Successful payments are placed on-hold to simulate real-world eCheck verification.

#### Simulating a successful credit card transaction

Use any valid credit card details (e.g. card number 4111111111111111).

#### Simulating a failed credit card transaction

Use card number 4929000000022 with a valid expiry and CVV.

#### Simulating a successful eCheck transaction

Use any valid 9-digit routing number and 4-17 digit account number.

#### Simulating a failed eCheck transaction

Use routing number 000000000 with any valid account number.

#### Refunds

Both gateways support refunds from the WooCommerce admin order page. Since payments
are simulated, refunds simply log a note on the order.

#### Development

The development of this plugin happens at [GitHub](https://github.com/webmonk/sandbox-payment-gateway).

If you want to contribute, [fork the project](https://github.com/webmonk/sandbox-payment-gateway)
and send a pull request.

## Screenshots

[⌊Admin payments page showing all available payment gateways⌉⌊Admin payments page
showing all available payment gateways⌉[

Admin payments page showing all available payment gateways

[⌊Settings page for sandbox credit card⌉⌊Settings page for sandbox credit card⌉[

Settings page for sandbox credit card

[⌊Settings page for sandbox eCheck⌉⌊Settings page for sandbox eCheck⌉[

Settings page for sandbox eCheck

[⌊Credit card payment form on the checkout page⌉⌊Credit card payment form on the
checkout page⌉[

Credit card payment form on the checkout page

[⌊eCheck payment form on the checkout page⌉⌊eCheck payment form on the checkout 
page⌉[

eCheck payment form on the checkout page

[⌊Admin order page showing transaction status and order notes⌉⌊Admin order page 
showing transaction status and order notes⌉[

Admin order page showing transaction status and order notes

## Installation

 1. Upload `sandbox-payment-gateway` to the `/wp-content/plugins/` directory, or install
    directly from the WordPress plugin directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to WooCommerce > Settings > Payments to enable Sandbox Credit Card and/or Sandbox
    eCheck.

## FAQ

### Can I test with real credit cards?

Yes. No charges will be made as payments are fully simulated.

### What status do eCheck payments receive?

Successful eCheck payments are set to “on-hold” to simulate the real-world verification
period.

## Reviews

![](https://secure.gravatar.com/avatar/9ebb94ca5c0c1b25b66b478927e9e48a20fa259f81cb5a83e5366cb6cbc8367c?
s=60&d=retro&r=g)

### 󠀁[Useful](https://wordpress.org/support/topic/useful-846/)󠁿

 [webmonk](https://profiles.wordpress.org/webmonk/) Est 30, 2021

Useful plugin.

 [ Read all 1 review ](https://wordpress.org/support/plugin/sandbox-payment-gateway/reviews/)

## Contributors & Developers

“Sandbox Payment Gateway for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ webmonk ](https://profiles.wordpress.org/webmonk/)

[Translate “Sandbox Payment Gateway for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/sandbox-payment-gateway)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/sandbox-payment-gateway/),
check out the [SVN repository](https://plugins.svn.wordpress.org/sandbox-payment-gateway/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/sandbox-payment-gateway/)
by [RSS](https://plugins.trac.wordpress.org/log/sandbox-payment-gateway/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

 * Fix: ACH payment form now renders correctly on checkout
 * Fix: ACH eCheck icon loads correctly
 * Fix: Visa card icon now shown in credit card gateway
 * Security: WooCommerce dependency check with admin notice
 * Security: Nonce verification on payment processing
 * Enhancement: ACH routing and account number validation
 * Enhancement: ACH failure simulation (routing number 000000000)
 * Enhancement: Refund support for both gateways
 * Enhancement: Proper text domain (sandbox-payment-gateway)
 * Enhancement: Requires Plugins header for WooCommerce (WordPress 6.5+)

#### 1.0.4

 * Compatibility: Marked as tested with WordPress 6.8
 * WooCommerce: Refactor gateways to extend WC_Payment_Gateway and harden input 
   handling
 * DevOps: Add GitHub Action to auto-deploy WordPress.org assets

#### 1.0.1

 * Initial Release

## Meta

 *  Version **1.0.4**
 *  Last updated **4 mis ago**
 *  Active installations **300+**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **6.8.6**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/sandbox-payment-gateway/)
 * Tags
 * [demo](https://cor.wordpress.org/plugins/tags/demo/)[payment gateways](https://cor.wordpress.org/plugins/tags/payment-gateways/)
   [sandbox](https://cor.wordpress.org/plugins/tags/sandbox/)[testing](https://cor.wordpress.org/plugins/tags/testing/)
   [woocommerce](https://cor.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://cor.wordpress.org/plugins/sandbox-payment-gateway/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/sandbox-payment-gateway/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/sandbox-payment-gateway/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/sandbox-payment-gateway/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/sandbox-payment-gateway/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/sandbox-payment-gateway/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sandbox-payment-gateway/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sandbox-payment-gateway/reviews/)

## Contributors

 *   [ webmonk ](https://profiles.wordpress.org/webmonk/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sandbox-payment-gateway/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.me/scopes90?locale.x=en_GB)