Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Test Payment Module for Woocommerce

Beskrivning

Adds a test payment gateway to WooCommerce. By default it is available only to logged in administrators or when WP_DEBUG is enabled. However, there is a setting which enables the gateway for everyone to use. This is especially useful where you want customers to enter their address info etc but for no money to change hands. Similar to the COD or BACS gateways except this will set their order as paid instead of pending. If you enable this and then look inside your available payment processors for WooCommerce you will see the basic settings for the plugin.

This can be safely used in the live environment for telephone/email orders etc as outside of the settings to enable for certain groups, only an administrator can see the gateway. I’ve been using it for testing conversion code from a variety of different affiliate systems.

Also when WP_DEBUG is set to true in your wp-config.php file this will show for everyone. Very useful when testing the user journey for new builds or in situations where payment is not needed

Installation

  1. Upload the entire directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Activate the payment processor in the WooCommerce settings

Recensioner

9 september 2019
Works perfectly. Just beware that in the current version (1.5) all users will see the test gateway if WP_DEBUG is set to true. (I have added a support question about this)
1 november 2018
Great plugin, I just had to make one change so that it would support WooCommerce Subscriptions. Adding $this->supports = array( 'subscriptions', 'products' ); to the plugins _constructor does it, would be nice to see this added permanently?
23 augusti 2017
Great plugin, may not have been updated but doesn’t need to, still works on WC3.
8 februari 2017
Finally, a method to test WooCommerce on a live site: – Only visible to logged in admin users – Activates the filter woocommerce_payment_complete_order_status, which only fires on real payment processors like Sisow, Paypal etc. This filter does NOT fire on other testing payment methods like COD, bank/wire transfer etc. Highly recommended!
Läs alla 9 betyg

Bidragsgivare och utvecklare

”Test Payment Module for Woocommerce” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Ändringslogg

1.4

  • Initial build. Has been used for a few versions but never version controlled
  • Updates to follow if requested!

1.5

  • Added ’enable for visitors’ option in the settings
  • Added ’enable for IP’ option in the settings