The Conditional Payments Methods for WooCommerce lets you control which payment gateways appear at checkout. Create rules based on cart details, products, user roles, locations, and dates to allow or restrict gateways for the right customers.
Installation:
↑ Back to top- Download the Advanced conditional payment methods plugin and have your .zip file
- Go to the Plugins section at the WordPress admin panel, and click ‘Add New’ to upload and install the plugin you just downloaded from WooCommerce.
- Upload the .zip file to proceed with the installation.
- Wait until the plugin installs. After successful installation, activate the plugin, and move on to configuration settings.
Configuration:
↑ Back to topGo to WooCommerce > Conditional Payment Methods. This page lists all your rules, and from here you can add new rules or edit existing ones.
Add New:
↑ Back to topClick Add New Conditional Payment Methods and set up the rule using the fields below.
- Title: Set the title of the rule.
- Allow Payment Methods: Shows only the selected gateways when the conditions match.
- Restrict Payment Methods: Hides the selected gateways when the conditions match.
- Payment Methods: Select one or more gateways the rule applies to, such as Cash on delivery.
- Checkout notice: Enter a message to show customers at checkout, such as “Order should be more than $100 for Cash on delivery”. Use it to explain why a payment method is not available.

Conditions to Meet:
↑ Back to topAdd or remove conditions based on cart total, weight, location, user role, and more. The relation between conditions is “AND”, and the relation between groups is “OR”.
- Condition type: The cart or customer detail to check.
- Operator: How the detail is compared, such as greater than, less than, or equals.
- Value: The number, product, location, or other value to match.

Condition Types:
↑ Back to topClick on an ‘add condition group’ to add conditions for payment methods. First, you need to select an option on which you want to apply the conditions. These are as following:
- Items in Cart
- Cart Quantity
- Cart Weight
- Sub Total (ex. tax)
- Cart Total
- Coupon Code Used
- Cart Contains Product
- Product Category
- Product Tag
- Product Type
- Shipping Class
- Shipping Continent
- Shipping Country
- Shipping State
- Shipping City
- Shipping Zip Code
- Shipping Methods
- Billing Continent
- Billing Country
- Billing State
- Billing City
- Billing Zip Code
- User Role
- IP Address
- Store Language
- Logged-in Customer
- Guest Customer
- Completed Orders
- First Order
- Lifetime Spend
- Day of Week
- Date Range
- Time Window
Operators
↑ Back to top- Greater than: Matches values above your number.
- Less than: Matches values below your number.
- Equals: Matches your exact number.

Add Condition Group
↑ Back to topUse groups to combine several sets of conditions in one rule. Every condition inside a group must match (AND). The rule applies if any one group matches (OR).
- Add Condition: Adds another condition to the group.
- Add an Alternative Condition Group: Creates a new group.
- Remove: Deletes a condition.
- Remove Group: Deletes a whole group.
