Title: Conditional Payments for WooCommerce
Author: WP Trio
Published: <strong>September 8, 2018</strong>
Last modified: April 17, 2026

---

Search plugins

![](https://ps.w.org/conditional-payments-for-woocommerce/assets/banner-772x250.
png?rev=3508857)

![](https://ps.w.org/conditional-payments-for-woocommerce/assets/icon.svg?rev=3508857)

# Conditional Payments for WooCommerce

 By [WP Trio](https://profiles.wordpress.org/wooelements/)

[Download](https://downloads.wordpress.org/plugin/conditional-payments-for-woocommerce.3.5.0.zip)

 * [Details](https://pcd.wordpress.org/plugins/conditional-payments-for-woocommerce/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/conditional-payments-for-woocommerce/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/conditional-payments-for-woocommerce/#installation)
 * [Development](https://pcd.wordpress.org/plugins/conditional-payments-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/)

## Description

Conditional Payments for WooCommerce allows you to restrict payment methods based
on conditions. For example, you can enable Cash on Delivery only when the shipping
method is Local pickup.

The plugin works with your existing payment methods. You can restrict PayPal, Stripe,
Cash on Delivery and any other payment method.

#### Example 1

You have two payment methods, PayPal and Cash on Delivery. PayPal can be used for
all orders but COD only when the customer pickups the order.

With Conditional Payments you can add shipping method condition to Cash on Delivery
which checks that the shipping method is Local pickup.

#### Example 2

You want to provide invoice payment method only for business customers. You can 
add billing company condition to Invoice to prevent private customers from ordering
with Invoice.

#### Features

 * Hide payment methods based on conditions
 * Show payment methods based on conditions
 * Works with built-in and 3rd party payment methods
 * Debug mode for easy troubleshooting

#### Available Conditions

 * Products
 * Order Subtotal
 * Shipping method
 * Billing address (all fields)
 * Shipping address (all fields)

#### Pro Features

 * All free features
 * Add payment method fees conditionally
 * More conditions
    - Coupon
    - Currency
    - Stock status (in stock, backorders)
    - Shipping class
    - Product category
    - Logged in / out
    - User role
    - [Groups](https://wordpress.org/plugins/groups/)
    - Language (Polylang or WPML)
    - And more

[Upgrade to Pro](https://wptrio.com/products/conditional-payments/)

#### Support Policy

If you need any help with the plugin, please create a new post on the [WordPress plugin support forum](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/).
It will be checked regularly but please note that response cannot be guaranteed 
to all issues. Priority email support is available for the Pro version.

#### Other Useful Plugins

Make sure to check out other useful plugins from the author.

 * [Conditional Shipping for WooCommerce](https://wordpress.org/plugins/conditional-shipping-for-woocommerce)
 * [Stock Sync for WooCommerce](https://wordpress.org/plugins/stock-sync-for-woocommerce/)
 * [Product Sync for WooCommerce](https://wptrio.com/products/woocommerce-product-sync-pro/)

## Screenshots

[[

[[

[[

[[

## Installation

Conditional Payments is installed just like any other WordPress plugin.

 1. Download the plugin zip file
 2. Go to Plugins in the WordPress admin panel
 3. Click Add new and Upload plugin
 4. Choose the downloaded zip file and upload it
 5. Activate the plugin

Once the plugin is activated, you can add rulesets in _WooCommerce > Settings > 
Payments > Conditions_.

## Reviews

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

### 󠀁[This plugin was a lifesaver.](https://wordpress.org/support/topic/this-plugin-was-a-lifesaver-3/)󠁿

 [bobanristic](https://profiles.wordpress.org/bobanristic/) April 1, 2026

This plugin was a lifesaver. I wouldn’t have been able to get anything done without
it. It’s amazing. Thanks!

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

### 󠀁[Best plugin and worth buying for more features](https://wordpress.org/support/topic/worth-buying-7/)󠁿

 [5iali](https://profiles.wordpress.org/5iali/) June 1, 2025

To be honest, this plugin is one of the best few free plugins that give you what
you need. If I can afford it, I will buy it to support the developer even if I don’t
need the PRO options. So, if anyone needs a plugin to do what this plugin do I will
recommend this one. But, I hope the developer does not change the free version and
make tight restrictions like other developers.

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

### 󠀁[easy to get started – works with Bookable Products](https://wordpress.org/support/topic/easy-to-get-started-works-with-bookable-products/)󠁿

 [markcowell](https://profiles.wordpress.org/markcowell/) March 2, 2025

I tried a few others, but they didn’t seem to recognise Bookable Products. This 
one recognised them the same as any other product. Great job

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

### 󠀁[Works perfectly!](https://wordpress.org/support/topic/works-perfectly-2808/)󠁿

 [Kwaku Dzaho](https://profiles.wordpress.org/dzaho/) November 23, 2024

Exactly what I needed.

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

### 󠀁[Clean Plugin](https://wordpress.org/support/topic/clean-plugin-4/)󠁿

 [serhatugur](https://profiles.wordpress.org/serhatugur/) October 5, 2024

Love using it for years without a problem, well done authors!

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

### 󠀁[Awesome plugin!](https://wordpress.org/support/topic/awesome-plugin-7144/)󠁿

 [Aggravated Badger](https://profiles.wordpress.org/tehcook/) April 15, 2024

Been using the plugin over a year now with no errors. Always updated too. Keep it
up! 😀

 [ Read all 27 reviews ](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/reviews/)

## Contributors & Developers

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

Contributors

 *   [ WP Trio ](https://profiles.wordpress.org/wooelements/)

“Conditional Payments for WooCommerce” has been translated into 7 locales. Thank
you to [the translators](https://translate.wordpress.org/projects/wp-plugins/conditional-payments-for-woocommerce/contributors)
for their contributions.

[Translate “Conditional Payments for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/conditional-payments-for-woocommerce)

### Interested in development?

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

## Changelog

#### 3.5.0

 * Renamed **Enable payment methods** to **Allow payment methods** and added new**
   Enable payment methods**. **Allow payment methods** will disable payment methods
   if conditions do not pass. New **Enable payment methods** will enable payment
   methods which have been disabled by previous rulesets.
 * Fixed PHP warning for empty conditions in the debug mode
 * Added better input validation for the rulesets
 * Minor bug fixes

#### 3.4.1

 * Added **is** and **is not** operators for billing and shipping city conditions.
   City input now allows a list separated by newlines

#### 3.4.0

 * Added **Admin only** mode for the debug mode to make it visible only for administrators(
   previously visible to all users)
 * Improved compatibility with the blocks checkout

#### 3.3.3

 * Restored **Conditions** link for WooCommerce versions 9.9.x and 10.x.x

#### 3.3.2

 * Restored **Conditions** link in the **Payments** section of the settings, which
   was inadvertently removed in WooCommerce 9.8.5
 * Improved compatibility with TeraWallet
 * Minor UI improvements

#### 3.3.1

 * Improved compatibility with the blocks checkout
 * Improved plugin security related to CSRF

#### 3.3.0

 * Added multicurrency support for **CURCY – Multi Currency for WooCommerce**

#### 3.2.1

 * Fixed a bug that caused the **Shipping method – is** condition to be evaluated
   incorrectly for virtual orders

#### 3.2.0

 * Added **Duplicate ruleset** feature
 * Added **equals** operator for numerical conditions
 * Improved **Shipping method – is – Match by name** feature to work better with
   dynamic shipping rates
 * Improved user interface performance
 * Minor bug fixes

#### 3.0.3

 * Declared compatibility with WordPress 6.4.x

#### 3.0.2

 * Added multicurrency support for _Price Based on Country for WooCommerce_

#### 3.0.1

 * Declared compatibility with High-Performance Order Storage (HPOS)
 * Added option for hiding Pro features

#### 3.0.0

 * Added debug mode for easy troubleshooting
 * Rulesets can now be ordered by drag-and-drop. Rulesets are evaluated from top
   to bottom
 * Improved user interface

#### 2.4.1

 * Fixed bug which crashed the checkout if WooCommerce Multilingual & Multicurrency
   by WPML was activated but multicurrency functionality was not enabled

#### 2.4.0

 * Added AND / OR selection for rulesets (one / all conditions have to pass)
 * Added support for the following multi-currency plugins: _Aelia Currency Switcher
   for WooCommerce_, _FOX – Currency Switcher Professional for WooCommerce_ and 
   _WooCommerce Multilingual & Multicurrency (by WPML)_
 * Improved compatibility with WPML

#### 2.3.2

 * CSRF fix

#### 2.3.1

 * Removed unnecessary error logging

#### 2.3.0

 * Added _Disable all_ setting for disabling all rulesets at once (_WooCommerce 
   > Settings > Payments > Conditions > Disable all_) for easy troubleshooting
 * Added condition for customer billing / shipping state
 * Updated WooCommerce compatibility info

#### 2.2.3

 * Updated WooCommerce compatibility info

#### 2.2.2

 * Removed debug message causing unnecessary log messages

#### 2.2.1

 * Fixed bug with Products condition which prevented it to work with a lot of product
   variations

#### 2.2.0

 * Added AJAX toggle for ruleset state (enabled / disabled)
 * Added Health Check to catch common issues with rulesets
 * Excluded taxes from the subtotal condition if the store displays subtotal excluding
   tax (_WooCommerce > Settings > Tax > Display prices during cart and checkout_).
   _Please note!_ Ensure rulesets are working correctly after updating if you have
   subtotal conditions.
 * For developers: added better support for implementing custom conditions

#### 2.1.5

 * WooCommerce 4.1.x compatibility check
 * Made address filters case-insensitive (previously case-sensitive)
 * For developers: added WP filters for adding support for 3rd party shipping method
   plugins

#### 2.1.4

 * Improved product search
 * Added range and wildcard filtering for postcode condition

#### 2.0.2

 * Added functionality for enabling / disabling rulesets

#### 2.0.1

 * Fixed bug which caused error message on frontend related to JavaScript file enqueuing

#### 2.0.0

 * Moved conditions from payment method setting pages to separate settings page (
   WooCommerce > Settings > Payments > Conditions). This change will allow more 
   advanced functionality in upcoming versions. Important! Check that conditions
   are working correctly after updating.

#### 1.0.3

 * Updated compatibility info

#### 1.0.2

 * Fixed Javascript issue which caused conditions disappear in some cases
 * Added support for Flexible Shipping plugin

#### 1.0.1

 * Added link to Pro version

#### 1.0.0

 * Initial version

## Meta

 *  Version **3.5.0**
 *  Last updated **3 months ago**
 *  Active installations **10,000+**
 *  WordPress version ** 4.5 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.0 or higher **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/conditional-payments-for-woocommerce/),
   [English (US)](https://wordpress.org/plugins/conditional-payments-for-woocommerce/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/conditional-payments-for-woocommerce/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/conditional-payments-for-woocommerce/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/conditional-payments-for-woocommerce/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/conditional-payments-for-woocommerce/),
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/conditional-payments-for-woocommerce/),
   and [Swedish](https://sv.wordpress.org/plugins/conditional-payments-for-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/conditional-payments-for-woocommerce)
 * Tags
 * [conditional payments](https://pcd.wordpress.org/plugins/tags/conditional-payments/)
   [payment methods](https://pcd.wordpress.org/plugins/tags/payment-methods/)[woocommerce payments](https://pcd.wordpress.org/plugins/tags/woocommerce-payments/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/conditional-payments-for-woocommerce/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  25 5-star reviews     ](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/reviews/)

## Contributors

 *   [ WP Trio ](https://profiles.wordpress.org/wooelements/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/)