{"id":145857,"date":"2021-08-18T23:43:34","date_gmt":"2021-08-18T23:43:34","guid":{"rendered":"https:\/\/en-gb.wordpress.org\/plugins\/sandbox-payment-gateway\/"},"modified":"2026-03-22T02:21:39","modified_gmt":"2026-03-22T02:21:39","slug":"sandbox-payment-gateway","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/sandbox-payment-gateway\/","author":8356511,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.4","stable_tag":"trunk","tested":"6.8.5","requires":"4.7","requires_php":"7.4","requires_plugins":null,"header_name":"Sandbox Payment Gateway for WooCommerce","header_author":"Isaac Oyelowo","header_description":"WooCommerce plugin to test the checkout with fake payments","assets_banners_color":"5a9cc1","last_updated":"2026-03-22 02:21:39","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/scopes90?locale.x=en_GB","header_plugin_uri":"http:\/\/codemypain.com","header_author_uri":"http:\/\/isaacoyelowo.dev","rating":5,"author_block_rating":0,"active_installs":300,"downloads":4152,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"webmonk","date":"2021-08-29 17:43:21"},"1.0.2":{"tag":"1.0.2","author":"webmonk","date":"2021-08-30 01:24:51"},"1.0.3":{"tag":"1.0.3","author":"webmonk","date":"2024-01-05 05:06:33"},"1.0.4":{"tag":"1.0.4","author":"webmonk","date":"2025-10-09 16:34:01"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3488006,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3375925,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3375925,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3488006,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3017659,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3017659,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3017659,"resolution":"3","location":"assets","locale":""},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":3017659,"resolution":"4","location":"assets","locale":""},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":3017659,"resolution":"5","location":"assets","locale":""},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":3017659,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"Admin payments page showing all available payment gateways","2":"Settings page for sandbox credit card","3":"Settings page for sandbox eCheck","4":"Credit card payment form on the checkout page","5":"eCheck payment form on the checkout page","6":"Admin order page showing transaction status and order notes"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3258,6594,3259,1591,286],"plugin_category":[45],"plugin_contributors":[92855],"plugin_business_model":[],"class_list":["post-145857","plugin","type-plugin","status-publish","hentry","plugin_tags-demo","plugin_tags-payment-gateways","plugin_tags-sandbox","plugin_tags-testing","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-webmonk","plugin_committers-webmonk"],"banners":{"banner":"https:\/\/ps.w.org\/sandbox-payment-gateway\/assets\/banner-772x250.png?rev=3488006","banner_2x":"https:\/\/ps.w.org\/sandbox-payment-gateway\/assets\/banner-1544x500.png?rev=3375925","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sandbox-payment-gateway\/assets\/icon-128x128.png?rev=3488006","icon_2x":"https:\/\/ps.w.org\/sandbox-payment-gateway\/assets\/icon-256x256.png?rev=3375925","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sandbox-payment-gateway\/assets\/screenshot-1.jpg?rev=3017659","caption":"Admin payments page showing all available payment gateways"},{"src":"https:\/\/ps.w.org\/sandbox-payment-gateway\/assets\/screenshot-2.jpg?rev=3017659","caption":"Settings page for sandbox credit card"},{"src":"https:\/\/ps.w.org\/sandbox-payment-gateway\/assets\/screenshot-3.jpg?rev=3017659","caption":"Settings page for sandbox eCheck"},{"src":"https:\/\/ps.w.org\/sandbox-payment-gateway\/assets\/screenshot-4.jpg?rev=3017659","caption":"Credit card payment form on the checkout page"},{"src":"https:\/\/ps.w.org\/sandbox-payment-gateway\/assets\/screenshot-5.jpg?rev=3017659","caption":"eCheck payment form on the checkout page"},{"src":"https:\/\/ps.w.org\/sandbox-payment-gateway\/assets\/screenshot-6.jpg?rev=3017659","caption":"Admin order page showing transaction status and order notes"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<h4>Sandbox Credit Card<\/h4>\n\n<p>Accepts any valid credit card number with Luhn algorithm validation, expiry date checks, and CVV verification.<\/p>\n\n<h4>Sandbox ACH \/ eCheck<\/h4>\n\n<p>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.<\/p>\n\n<h4>Simulating a successful credit card transaction<\/h4>\n\n<p>Use any valid credit card details (e.g. card number 4111111111111111).<\/p>\n\n<h4>Simulating a failed credit card transaction<\/h4>\n\n<p>Use card number 4929000000022 with a valid expiry and CVV.<\/p>\n\n<h4>Simulating a successful eCheck transaction<\/h4>\n\n<p>Use any valid 9-digit routing number and 4-17 digit account number.<\/p>\n\n<h4>Simulating a failed eCheck transaction<\/h4>\n\n<p>Use routing number 000000000 with any valid account number.<\/p>\n\n<h4>Refunds<\/h4>\n\n<p>Both gateways support refunds from the WooCommerce admin order page. Since payments are simulated, refunds simply log a note on the order.<\/p>\n\n<h4>Development<\/h4>\n\n<p>The development of this plugin happens at <a href=\"https:\/\/github.com\/webmonk\/sandbox-payment-gateway\">GitHub<\/a>.<\/p>\n\n<p>If you want to contribute, <a href=\"https:\/\/github.com\/webmonk\/sandbox-payment-gateway\">fork the project<\/a> and send a pull request.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>sandbox-payment-gateway<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory, or install directly from the WordPress plugin directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to WooCommerce &gt; Settings &gt; Payments to enable Sandbox Credit Card and\/or Sandbox eCheck.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20test%20with%20real%20credit%20cards%3F\"><h3>Can I test with real credit cards?<\/h3><\/dt>\n<dd><p>Yes. No charges will be made as payments are fully simulated.<\/p><\/dd>\n<dt id=\"what%20status%20do%20echeck%20payments%20receive%3F\"><h3>What status do eCheck payments receive?<\/h3><\/dt>\n<dd><p>Successful eCheck payments are set to \"on-hold\" to simulate the real-world verification period.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Fix: ACH payment form now renders correctly on checkout<\/li>\n<li>Fix: ACH eCheck icon loads correctly<\/li>\n<li>Fix: Visa card icon now shown in credit card gateway<\/li>\n<li>Security: WooCommerce dependency check with admin notice<\/li>\n<li>Security: Nonce verification on payment processing<\/li>\n<li>Enhancement: ACH routing and account number validation<\/li>\n<li>Enhancement: ACH failure simulation (routing number 000000000)<\/li>\n<li>Enhancement: Refund support for both gateways<\/li>\n<li>Enhancement: Proper text domain (sandbox-payment-gateway)<\/li>\n<li>Enhancement: Requires Plugins header for WooCommerce (WordPress 6.5+)<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Compatibility: Marked as tested with WordPress 6.8<\/li>\n<li>WooCommerce: Refactor gateways to extend WC_Payment_Gateway and harden input handling<\/li>\n<li>DevOps: Add GitHub Action to auto-deploy WordPress.org assets<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Fake credit card and ACH\/eCheck payment gateways for testing WooCommerce checkout flows.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/145857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=145857"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webmonk"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=145857"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=145857"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=145857"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=145857"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=145857"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=145857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}