WooCommerce Conditional Payment Gateways

woocommerce disable payment gateway for city or state
Play Video
5 stars. 6 reviews
Last update: 35 days ago. Compatible with: WordPress +5.5 and WooCommerce +4.0.0

Reduce fraud and store losses

woocommerce conditional payment gateways

Increase sales and profit

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.


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”

wp conditional post restrictions advanced

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


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

one site

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


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


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