Description
Restrict Payment Methods For WooCommerce lets you control which payment gateways appear at checkout using powerful, flexible conditions.
With this plugin, you can dynamically show or hide WooCommerce payment methods based on cart contents, user roles, shipping methods, dates, and more — ensuring customers only see suitable and secure payment options.
💡 Key Features
- One-click installation and intuitive setup
- Configure multiple restriction rules for payment gateways
- Simple admin interface with grouped conditions
-
Enable/disable payment gateways based on:
- Order total (subtotal, quantity)
- Products, product categories, tags, brands, types, stock status
- Shipping method and shipping class
- Billing and shipping fields (name, address, etc.)
- User status (logged in/out), user role, or specific users
- Date and day-of-week conditions
-
Supports multi-line and multi-select conditions
- Advanced matching logic for robust scenarios
- Compatible with the latest WooCommerce versions
Examples
Here are several examples of how you can use Restrict Payment Methods For WooCommerce to control which gateways appear during checkout:
-
Restrict PayPal for orders below $50
- Show PayPal only if the cart subtotal is greater than or equal to $50.
- Condition used: Cart total (subtotal).
-
Hide Cash on Delivery for orders over 10 items
- Disable COD if the total cart quantity exceeds 10.
- Condition used: Cart quantity.
-
Restrict Cash on Delivery for specific products
- Hide Cash on Delivery if “Gift Card” or “Custom Order” product is in the cart.
- Condition used: Specific products.
-
Hide Stripe for certain product categories
- Do not show Stripe for items in “Digital Products” category.
- Condition used: Product category.
-
Show PayPal only for products tagged “express”
- Display PayPal only when the cart contains products tagged as “express”.
- Condition used: Product tags.
-
Enable Bank Transfer for “Brand A” products only
- Only allow Bank Transfer if all items belong to Brand A.
- Condition used: Product brand.
-
Restrict certain payment methods for “Variable” product types
- Hide “Cash on Delivery” if the cart has variable products.
- Condition used: Product type.
-
Disable PayPal for out-of-stock products
- Prevent checkout with PayPal if any product in the cart is out of stock.
- Condition used: Product stock status.
-
Enable payment methods based on shipping method
- Show “Cash on Delivery” only if “Local Pickup” or “Flat Rate” shipping is selected.
- Condition used: Shipping method.
-
Restrict PayPal for certain shipping classes
- Hide PayPal if any cart item belongs to “Heavy Item” shipping class.
- Condition used: Shipping class.
-
Restrict gateways based on billing country
- Allow PayPal only for customers with a billing country of “United States”.
- Condition used: Billing field (country).
-
Hide certain gateways for specific shipping zones or cities
- Disable Bank Transfer for shipping city “New York”.
- Condition used: Shipping field (city).
-
Enable Bank Transfer only for logged-in users
- Hide Bank Transfer for guests; show only to logged-in customers.
- Condition used: User login status.
-
Allow Stripe for “shop_manager” and “administrator” roles only
- Restrict Stripe to specific user roles.
- Condition used: User role.
-
Restrict payment methods for specific users
- Disable “Cash on Delivery” for a particular customer account.
- Condition used: Specific user.
-
Show Stripe only on Mondays and Fridays
- Display Stripe gateway only on those two days.
- Condition used: Day-of-week condition.
-
Restrict PayPal for specific date ranges
- Hide PayPal between Dec 25–Jan 1 (e.g., during holidays).
- Condition used: Date range condition.
-
Allow multiple conditions in a single rule
- Example: Show PayPal only if subtotal ≥ $50 AND user is logged in AND it’s Friday.
- Condition used: Multi-condition and advanced matching logic.
-
Enable multiple payment rules at once
- Example: Create separate rules for different countries, product categories, and user roles simultaneously.
- Condition used: Multiple rules support.
-
Restrict based on shipping class and subtotal together
- Hide PayPal for “Heavy Item” class unless subtotal is above $200.
- Condition used: Combined conditions.
Each example demonstrates how you can tailor checkout payment options to your exact business logic and improve the customer experience.
Our More Plugins
- Short Description and Attributes Show Loop For WooCommerce
- Add to Quote For WooCommerce
- Product Shortcode – Widget – Block for WooCommerce
- Show Variations On Shop & Category WooCommerce
- Variation Dropdown to Radio For WooCommerce
- Product Enquiry for WooCommerce
- PDF Catalog WooCommerce
- Display Product Variations Dropdown On Shop Page For WooCommerce
Installation
- Upload the plugin files to the
/wp-content/plugins/restrict-payment-methods-for-woocommerce/directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to WooCommerce Settings Payments Restrictions to configure rules.
- Add your conditions and save. That’s it!
FAQ
-
Does this plugin work with all payment gateways?
-
Yes, it supports all WooCommerce-compatible payment gateways.
-
Can I create multiple restriction rules?
-
Absolutely! You can define as many rules as you like for different scenarios.
-
Will it work with custom payment gateways?
-
Yes. If your custom gateway follows WooCommerce’s payment API standards, it will be supported.
-
Is it compatible with WooCommerce Subscriptions or Memberships?
-
Yes, it works with most extensions that follow WooCommerce’s standard checkout process.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Restrict Payment Methods For WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Restrict Payment Methods For WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- Initial release
- Added flexible condition builder for payment restrictions
- Support for user, product, date, and shipping conditions

