Black Friday: 30% off all plugins from 24 Nov · Join the list for early access →

Overview

Hide payment methods by cart total, country, category, shipping method or customer type: no cash on delivery above 200 €, no bank transfer abroad.

  • Hide risky payment methods
  • Rules by total, country and category
  • Fewer unpaid orders

Best for: Stores offering cash on delivery, transfers or checks

Installation

  1. Download gatesly-payment-rules.zip from My account › My plugins or from your order email. Do not unzip it.
  2. In WordPress, go to Plugins › Add New Plugin › Upload Plugin, choose the zip and click Install Now, then Activate.

Requires WordPress 6.0+, PHP 7.4+, WooCommerce 7.0+. Works with any theme, block themes and page builders.

Features

  • Up to 8 rules, each for one payment method
  • Cart total from and up to an amount
  • Countries: only in or everywhere except
  • Product categories and shipping methods
  • Guests only or logged-in customers only
  • Plain-language summary of each rule
  • Classic and block checkout

Shortcodes

Paste a shortcode in any page, post, widget or page builder text block.

  • [gatesly_preview]

Options of each shortcode are described in the Features above and in the plugin settings page.

For developers

Customize the plugin from your theme’s functions.php or a small plugin, without editing its files (your changes survive updates).

Filters

  • gatesly_active
  • gatesly_sanitize
add_filter( 'gatesly_active', function ( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Actions

  • gatesly_admin_after_form
  • gatesly_admin_before_form
  • gatesly_admin_form_end

Updates

Updates are free. When a new version is out, it appears in Dashboard › Updates of your WordPress site and you can install it in one click, or turn on automatic updates in Plugins. This works for the zip downloaded from your Woo-Plugins account; older copies can be replaced by downloading the latest version from My plugins. See the changelog.

Frequently asked questions

Which payment methods are supported?

Every active method: bank transfer, check, cash on delivery, Stripe, PayPal and others.

What if a rule hides every method?

Keep at least one method without rules so customers can always pay.

Still stuck?

Write to us with your WordPress and WooCommerce versions and what you tried: we answer by email.

Contact support