WooCommerce Conditional Payment Gateways

woocommerce disable payment gateway for city or state
Play Video
5 stars. 6 reviews

Last update: 2019-07-20. Compatible with: WordPress +5.0.0 and WooCommerce +3.6.0

Reduce fraud and store losses

  • Don't allow credit card payments for some countries, cities, and zip codes
  • Reduce the number of chargebacks and refunds
  • Stop spammers from using stolen credit cards
  • Stop wasting money on bank fees for transactions made by bad guys
  • Only Allow credit cards for customers with more than 3 previous orders
woocommerce conditional payment gateways

Increase sales and profit

  • Save money by using the cheapest payment processors when the order total is too low
  • Increase sales by offering the best payment method for the country of the customer
  • Show payment methods that charge the lowest fees based on the product category or user country or total order amount
  • Require bank transfers when the order is higher than $2000 to save on fees

Hide/Show Payment Methods based on

User Location and Info

Address, city, state, zip code, country, user role, email, date of customer registration, number of previous orders, etc.

Product information

Product category, height, length, weight, colors, sizes, brands, custom taxonomies, product attributes, etc.

Cart information

Coupon used, shipping method, order contains product, product quantity, coupon code, total discounts, total taxes, etc.

Shipping and billing information

Delivery method, shipping method, shipping classes, total Weight, total Height, total Length, etc.


  • Require bank transfers when the order is higher than $2000 to save on fees
  • Require bank transfers when your distributors or partners make wholesale purchases
  • Require cash payment when the product will be home delivered
  • Require cheque payment for expensive products to prevent fraud
  • Allow credit cards for users with 3 or more successful purchases reducing credit card fraud
  • Disable credit card payments when the user is not logged in
  • Provide payment methods preferred by the customer based on the country
  • Don't allow credit card payments when the customer is using a coupon
  • Don't allow your business partners to pay with cash
  • Allow users to pay with credit card to access bank financing for expensive products
  • Don't allow orders from countries, cities, or states that you don't ship products to
  • Provide special payment methods for specific users. For example, accept cash payment only from trusted customers

Full control of your payment gateways

Hide payment methods

Hide or show payment methods anytime you want.

Activate or deactivate payment gateways based on any cart conditions

Advanced visibility

Create advanced visibility conditions easily.

Use “AND / OR” operators like “show paypal if country = X OR product category = X”

All Gateways supported

All WooCommerce plugins are compatible.

They appear automatically when you set the visibility rules

How does it work?

Easy to Setup

You can create unlimited conditions for one or multiple payment methods

Simple conditional logic

The conditions are very easy to setup.
1. Select the cart field (i.e. subtotal)
2. Select the operator ( =, <, <=, >, >=, contains, etc.)
3. Enter the value to compare
Examples: “Subtotal >= 100” or “User country = Canada”

Unlimited condition groups

You can use conditions in “AND” and “OR” groups.
For example: “subtotal >= 100 AND country = USA” OR “subtotal >= 1000 AND country = Germany”

Download the WordPress plugin


49.99 $ 29 / year
  • Get support
  • Get updates
  • All features included
Buy now or


70.99 $ 39 / year
  • Get support
  • Get updates
  • All features included
Buy now or

one site

$ 69.99 / one time
  • Get support forever
  • Get updates forever
  • All features included
  • Pay once and use it forever
Buy now or


$ 89.99 / one time
  • Get support forever
  • Get updates forever
  • All features included
  • Pay once and use it forever
Buy now or


Does it work with Cache Systems?

Yes. It works with all the cache systems, including cloudflare, WPEngine, Pantheon, Siteground, WPRocket, WP Super Cache, W3 Total Cache, etc.

Compatibility with other plugins?

We’ve tried the plugin with the most popular WooCommerce extensions and it works very well.

Will it work with my theme?

Yes, our plugin will work with any well-coded WooCommerce theme.

Will this work with future WooCommerce updates?

Yes. We release updates constantly and we make sure it works perfectly with the latest WooCommerce.

Do you offer refunds?

We provide refunds if the plugin doesn’t work and we’re unable to fix the issue.

If you don’t know if the plugin will work for you, you can start a 7-days free trial.

Do I have to renew every year?

Yes, if you buy a yearly license.

We also have lifetime licenses, so you can use the plugin forever and receive updates forever for a one-time payment.


Diego Portillo
If you offer free shipping for some zones in your country or any other place in the world, your customers have a great advantage. However, fraud is everywhere, and free shipping purchases are a good target for fraudsters. Therefore, we suggest you to consider disabling credit card usage when your products contain the free shipping …
Diego Portillo
In a previous article, we taught our users how to disable a payment method for a complete product category in WooCommerce. However, we got an email from a user asking us about the possibility to disable a payment gateway for a specific group of products that are not integrated in any category or that belong to …
Diego Portillo
Hi there! 🙂 In this short article, we’ll teach you how to restrict a payment method in a specific country so that the customers visiting your WooCommerce store from that country aren’t able to use it at the moment of shopping with you. However, the customers from all other countries will be able to use …
Diego Portillo
Hey! How’s it going with your WooCommerce store? We hope everything’s going great. In this short article, we’ll show you how easy it is to disable a payment method like PayPal for a specific shipping class using the Conditional Payment Gateways plugin. This is something you cannot do with WooCommerce, but this plugin helps you …
Diego Portillo
If you have corporate customers and want to activate a payment gateway to be used exclusively by them, you may be wondering about which PHP code you can use to apply that change. However, in this entry we want to show you that you don’t necessarily need to use codes, you just need to install …
Diego Portillo
In this quick tutorial, we’ll show you how easy it is to enable bank accounts for specific countries. This is really useful when you want your customers from Canada and the United States to send bank transfers to account 1 and customers from Mexico and Guatemala to send transfers to account 2. We need to …
Close Menu