How to conditionally enable or show specific payment methods
Use a Conditional Payments for WooCommerce rule to show a payment method only when certain conditions are met. You create the rule at WooCommerce > Settings > Payments > Conditions, then add an Enable Payments Methods action.
In The Article
How to enable a payment method
- Go to WooCommerce > Settings > Payments, then open Conditions and click Add New.
- Turn on the Status toggle and enter a Rule Name, such as “Enable Check Payments for Orders Above $100.”
- In Conditions, define when the method should appear. The example uses Cart Subtotal (Before Discount) Greater than ( > ) 100.
- In Actions, choose Enable Payments Methods and select the method to show (for example, Check payments). Click Save Changes.
- Test checkout with a cart that meets the condition and one that does not.
Pro Tips
- The current form label is Enable Payments Methods. The example screenshot shows the older singular Enable Payments Method. Use the current label when you create the rule.
- The condition field in the screenshot is slightly cut off as “Cart Subtotal (Before”. The current admin label is Cart Subtotal (Before Discount).
- After you save, confirm that the method appears only for matching carts.
Common Use Cases
1. Enable a method for high-value orders
Use Cart Subtotal (Before Discount) above a set amount, then Enable Payments Methods for a method such as PayPal or Check payments.
2. Show Cash on Delivery for local pickup
Use Shipping Method Equal to ( = ) Local Pickup, then Enable Payments Methods for Cash on delivery.
3. Allow Direct bank transfer for wholesale buyers
Use User Role Equal to ( = ) your wholesale role, then Enable Payments Methods for Direct bank transfer.
FAQs
1. Which action shows a payment method?
Enable Payments Methods, then the method or methods to show. Some older screenshots label this Enable Payments Method.
2. What condition does the example use?
Cart Subtotal (Before Discount) Greater than ( > ) 100, with an Enable Payments Methods action for Check payments.
3. Can I combine this with other conditions?
Yes. Click + Add Condition to add another condition, such as User Role or Shipping Method, to the same rule.