Title: CartMend Payment Method Rules for WooCommerce
Author: CartMend
Published: <strong>August 7, 2026</strong>
Last modified: August 7, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/cartmend-payment-rules.svg)

# CartMend Payment Method Rules for WooCommerce

 By [CartMend](https://profiles.wordpress.org/cartmendmodule/)

[Download](https://downloads.wordpress.org/plugin/cartmend-payment-rules.1.1.4.zip)

 * [Details](https://wordpress.org/plugins/cartmend-payment-rules/#description)
 * [Reviews](https://wordpress.org/plugins/cartmend-payment-rules/#reviews)
 *  [Installation](https://wordpress.org/plugins/cartmend-payment-rules/#installation)
 * [Development](https://wordpress.org/plugins/cartmend-payment-rules/#developers)

 [Support](https://wordpress.org/support/plugin/cartmend-payment-rules/)

## Description

**CartMend Payment Method Rules for WooCommerce** lets you conditionally hide or
show payment gateways at checkout — without writing a single line of code. Create
as many rules as you need, each targeting one gateway with one or more conditions
combined with AND/OR logic. It works on **both** the classic shortcode checkout 
and the new **block (Gutenberg) checkout**, and it adds **zero JavaScript and zero
jQuery** to your storefront.

Common things store owners use it for:

 * Hide **Cash on Delivery** for orders over a certain amount (reduce fraud and 
   unpaid COD).
 * Hide **PayPal** (or any gateway) for specific billing countries.
 * Show a gateway **only** for a chosen country (whitelist mode).

#### Features

 * Unlimited rules, each targeting one payment gateway.
 * Action per rule: **Hide** or **Show only**.
 * Each rule can combine multiple conditions with **AND/OR** logic: **Billing country**(
   is in / is not in a list) and/or **Cart subtotal** (greater than / less than /
   equal to / between).
 * Enable/disable toggle per rule.
 * Admin-only **debug notice** at checkout that tells you exactly which rule fired
   and why.
 * Works on classic checkout, block checkout, and the order-pay page.
 * HPOS (High-Performance Order Storage) compatible.
 * Lightweight: no frontend JavaScript, no jQuery, no bloat.

## Installation

 1. Upload the plugin to `/wp-content/plugins/` or install it from **Plugins  Add New**.
 2. Activate **CartMend Payment Method Rules for WooCommerce**.
 3. Make sure WooCommerce is active and you have at least one payment gateway enabled.
 4. Go to **WooCommerce  Settings  Payment Rules**.
 5. Add a rule: choose a gateway, an action (Hide / Show only), and one or more conditions(
    Billing country and/or Cart subtotal). Add more rules or conditions as needed, 
    then save.

## FAQ

### Does it work with the new block (Gutenberg) checkout?

Yes. The core hide/show logic runs server-side through WooCommerce’s `woocommerce_available_payment_gateways`
filter, which now fires in the block/Store API checkout as well as the classic shortcode
checkout and the order-pay page.

### Will it work with Stripe, PayPal, Square and other gateways?

Yes. The plugin filters whatever active gateways WooCommerce exposes, including 
third-party gateways, as long as they are enabled in WooCommerce.

### My rule isn’t working. What should I check?

Enable the admin-only debug notice by viewing checkout while logged in as a shop
manager/admin — it shows which rule fired and why. Also confirm the gateway is enabled
in WooCommerce and that any full-page cache excludes the checkout page.

### Does it slow down checkout?

No. Rules are evaluated in plain PHP from a single cached option, with no extra 
database queries during checkout, and no frontend JavaScript.

### Does it collect any data?

No. The plugin sends no telemetry.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CartMend Payment Method Rules for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ CartMend ](https://profiles.wordpress.org/cartmendmodule/)

[Translate “CartMend Payment Method Rules for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/cartmend-payment-rules)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cartmend-payment-rules/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cartmend-payment-rules/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cartmend-payment-rules/)
by [RSS](https://plugins.trac.wordpress.org/log/cartmend-payment-rules/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.4

 * The free version now supports unlimited rules with AND/OR condition logic.
 * Each rule can combine multiple conditions (billing country and/or cart subtotal).
 * Added an “equal to” comparison for cart subtotal.
 * Removed a leftover empty init hook.

#### 1.1.3

 * Confirmed the plugin ships exactly the billing country and cart subtotal condition
   types shown in the settings screen.
 * Renamed to lead with brand.
 * Fixed contributors.
 * Moved inline debug style to an enqueued stylesheet.

#### 1.0.0

 * Initial release.
 * One rule: hide or show a payment gateway by billing country or cart subtotal.
 * Works on classic checkout, block (Store API) checkout, and order-pay page.
 * Admin-only checkout debug notice.
 * HPOS and Cart/Checkout Blocks compatibility declared.

## Meta

 *  Version **1.1.4**
 *  Last updated **10 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.5 or higher **
 *  Tested up to **7.0.3**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [conditional payments](https://wordpress.org/plugins/tags/conditional-payments/)
   [hide payment method](https://wordpress.org/plugins/tags/hide-payment-method/)
   [payment gateways](https://wordpress.org/plugins/tags/payment-gateways/)[payment methods](https://wordpress.org/plugins/tags/payment-methods/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/cartmend-payment-rules/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cartmend-payment-rules/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cartmend-payment-rules/reviews/)

## Contributors

 *   [ CartMend ](https://profiles.wordpress.org/cartmendmodule/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cartmend-payment-rules/)