Conditional Payment Gateways for WooCommerce

Description

Conditional Payment Gateways for WooCommerce plugin lets you hide payment gateways in WooCommerce based on various conditions, for example, minimum or maximum cart amount, current date and time, current customer IP or user ID.

✅ Available Conditions

Plugin includes these modules (i.e. “conditions”):

  • Cart total – Hides WooCommerce payment gateways based on minimum and maximum cart (i.e. order) amounts.
  • Date and time – Hides WooCommerce payment gateways by current date and time.
  • Customer IP – Hides WooCommerce payment gateways by current user IP.
  • User – Hides WooCommerce payment gateways by current user ID.
  • Language – Hides WooCommerce payment gateways by the current WPML or Polylang language.
  • Currency – Hides WooCommerce payment gateways by the current currency. For example, this is useful, if you are using some additional currency switcher plugin.

🏆 Premium Version

Free version allows setting conditions for all standard WooCommerce payment gateways, i.e.:

  • Direct bank transfer,
  • Check payments,
  • Cash on delivery (COD),
  • PayPal.

With Conditional Payment Gateways for WooCommerce Pro you can set conditions for any payment gateway.

More

  • We are open to your suggestions and feedback.
  • Thank you for using or trying out one of our plugins!
  • Visit plugin site.

Installation

  1. Upload the entire plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Start by visiting plugin settings at “WooCommerce > Settings > Conditional Payment Gateways”.

Reviews

There are no reviews for this plugin.

Contributors & Developers

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

Contributors

Changelog

2.1.0 – 28/12/2021

  • Fix – Notices – Adding notices only on AJAX now.
  • Dev – Notices – %current_raw% placeholder added.
  • Dev – “Currency” module added.
  • Dev – “Language” module added.
  • Dev – Admin settings restyled.
  • Dev – Code refactoring.
  • WC tested up to: 6.0.
  • Tested up to: 5.8.

2.0.1 – 26/03/2021

  • Dev – Shortcodes – [alg_wc_cpg_cart_total] – Removing and then re-adding the main filter when calling WooCommerce calculate_totals() function.
  • Dev – Admin settings restyled; descriptions updated.
  • Dev – Free plugin version released.

2.0.0 – 16/03/2021

  • Dev – “Customer IP” module added.
  • Dev – “User” module added.
  • Dev – “Date/Time” module added.
  • Dev – Cart Total – Cart total is calculated with shortcode now. Checkbox options (i.e. “Exclude taxes/shipping/discounts”) removed – this is replaced by shortcode attributes now.
  • Dev – Cart Total – Additional notice – Placeholders renamed: %min_amount% and %max_amount% are now replaced by a single %value% placeholder. %result% (i.e. current cart total) placeholder added.
  • Dev – General – “Leave at least one gateway” option added.
  • Dev – General – “Debug” option added.
  • Dev – Shortcodes – [alg_wc_cpg_if] shortcode added.
  • Dev – Shortcodes – [alg_wc_cpg_cart_total] shortcode added.
  • Dev – Shortcodes – [alg_wc_cpg_user_id] shortcode added.
  • Dev – Shortcodes – [alg_wc_pgmma_translate] renamed to [alg_wc_cpg_translate].
  • Dev – Major code refactoring.
  • Plugin renamed (was “Payment Gateways Min Max Amounts for WooCommerce”).
  • Tested up to: 5.7.
  • WC tested up to: 5.1.

1.1.0 – 07/11/2019

  • Fix – Cart Total – Comparing float values with epsilon now.
  • Dev – Cart Total – Option IDs for all settings updated. Min/max amounts are saved in array now.
  • Dev – Cart Total – “Exclude taxes” option added.
  • Dev – Cart Total – “Exclude discounts” option added.
  • Dev – Cart Total – Shortcodes are now processed in plugin notices on checkout. Shortcode added for WPML/Polylang translations.
  • Dev – Cart Total – Min and max notices can be displayed simultaneously now.
  • Dev – Cart Total – Admin settings restyled.
  • Dev – Cart Total – Code refactoring.
  • Plugin URI updated.
  • WC tested up to: 3.8.
  • Tested up to: 5.2.

1.0.0 – 27/04/2018

  • Initial Release.