How to Show WooCommerce Payment Methods by Location, Product, Shipping and Currency

By Seahawk November 6, 2025 6 min read

By default, WooCommerce shows every enabled payment method to every customer. That gets awkward fast: cash on delivery offered for digital downloads, a local bank transfer shown to buyers on the other side of the world, or a card gateway that does not support the currency being used. This Seahawk Learn video shows how to control which payment gateways appear at checkout, starting with free WP Factory plugins and then moving to the pro versions for finer rules.

Seahawk Learn · Dynamic WooCommerce Payment Gateways: Show Methods by Location, Product & More · 20:14

Below you will find the same walkthrough in written form, plus the testing habits that stop a rule from quietly hiding every payment option.

Why limit payment methods at checkout

Showing fewer, more relevant options makes checkout simpler, and it prevents orders that cannot work. Common reasons to set conditions on a gateway include:

  • Shipping method: offer cash on delivery only when the customer picks local delivery, and hide it for courier or international shipping.
  • Product, category or tag: restrict a payment method for certain products, for example a deposit-based gateway for custom or high-value items.
  • Customer location: show a regional gateway only to customers in the country, state or city it serves.
  • Currency: make sure a gateway only appears when the cart is in a currency it can process, which matters on stores that use a multi-currency setup.

If you are still choosing which gateways to offer in the first place, our guide to the best WooCommerce payment gateways is a good starting point. The rules in this article apply to whichever gateways you end up using.

What WP Factory offers for payment gateway rules

WP Factory publishes a set of WooCommerce plugins, each focused on one kind of condition. The video starts with the free versions, which cover two rule types: payment gateway by shipping method, and payment gateway by product category and tags. The pro plugins add the more granular conditions: specific products, countries, states and cities, and currency. You can find the full range on the WP Factory website.

The pro side of the video also covers WP Factory's bundle and shows the four plugins the presenter treats as essential for this job. Check the current plans on WP Factory's own site rather than relying on any figure quoted in a video, because plans change.

How to set up conditional payment gateways

The exact screens vary a little between plugins, but the workflow is the same each time.

  1. Review your current gateways. Go to WooCommerce, Settings, Payments and note which methods are enabled. Place a test order first so you know what customers see before you change anything.
  2. Install the plugin. From Plugins, Add New, search for the WP Factory plugin you need, install and activate it. For the free route, begin with the shipping method plugin.
  3. Open the plugin's settings and enable the module. The settings let you pick a payment gateway and then list the conditions that should apply to it.
  4. Add the rule. For a shipping rule, choose the shipping methods where a gateway should be allowed or blocked. For a category or tag rule, choose the categories or tags the gateway applies to.
  5. Save and test. Add a matching product to the cart, go to checkout and confirm the right gateway shows. Then repeat with a non-matching cart and confirm it disappears.

Rules by shipping method

This is the easiest rule to reason about. Customers choose a shipping method on the cart or checkout page, and the available payment methods update to match. It works well for local pickup and cash on delivery. If your shipping options are not set up yet, see how to add shipping to WooCommerce first.

Rules by product category and tag

Category and tag rules scale better than product-by-product rules because new products inherit the behaviour as soon as you assign them to the category. Use specific-product rules (a pro feature in the video) only for genuine exceptions.

Rules by location and currency

Location rules look at the customer's billing or shipping address, down to state and city in the pro demo. Currency rules look at the active currency of the cart. Both are useful for international stores where a gateway only works in certain regions or currencies.

Mistakes to avoid

  • Blocking every gateway for a cart. If two rules together exclude all methods, customers cannot pay. Always test mixed carts, such as one product from each category.
  • Forgetting guest and logged-in differences. Test as a guest and as a customer with a saved address, since saved addresses can change which location rule matches.
  • Not testing on mobile. Gateways with their own buttons can render differently on small screens.
  • Stacking too many rules. Start with the simplest condition that solves the problem, and add more only when needed.
  • Skipping a staging copy. Checkout is where revenue happens. Try new rules on a staging site or in a quiet period.

When to use something else

If you only need to hide one gateway in one situation, a small code snippet using WooCommerce's available payment gateways filter may be enough, and it adds no plugin. It does need a developer's care, and a mistake affects checkout. If your real problem is shoppers abandoning checkout rather than seeing the wrong methods, look at WooCommerce cart recovery instead.

What the video covers

  • 0:00 Intro: smarter WooCommerce payment gateways
  • 1:28 Demo store and payment method overview
  • 2:04 Free WP Factory plugin installation
  • 3:56 Setup: payment gateway by shipping method
  • 5:07 Setup: payment gateway by product category and tags
  • 7:40 Pro features overview: products and countries
  • 8:18 WP Factory pricing and bundle value breakdown
  • 11:19 Installing the four essential pro plugins
  • 12:45 Pro demo: payment gateway by specific product
  • 15:23 Pro demo: payment gateway by shipping
  • 15:52 Pro demo: payment gateway by customer location (state and city)
  • 16:41 Pro demo: payment gateway by currency
  • 19:10 Final review and testing your setup

Is conditional checkout right for your store?

If every customer can use every payment method without problems, you may not need this. But if you sell internationally, mix physical and digital products, or offer a local method like cash on delivery, conditional rules make checkout clearer and cut failed orders. Start with the free shipping and category rules, test carefully, and move to the pro plugins only when you need product, location or currency conditions.

FAQs

Can WooCommerce show different payment methods for different products?

Not on its own. WooCommerce shows all enabled gateways to everyone. You need a plugin or custom code to restrict a gateway by product, category or tag. The video covers category and tag rules with WP Factory's free plugin and specific-product rules with the pro version.

Can I hide a payment gateway based on the customer's country or city?

Yes, with a plugin that supports location conditions. The video shows a pro plugin that filters payment gateways by customer location, including state and city.

Will conditional payment rules work with a multi-currency store?

Yes, if you use a currency-based rule. The video demonstrates showing a gateway only when the cart is in a particular currency, which helps when a gateway cannot process every currency you sell in.

How do I make sure a rule does not hide every payment method?

Test several carts at checkout, including mixed carts with products from different categories, as a guest and as a logged-in customer. If a cart ends up with no payment options, loosen or reorder your rules.

Are the WP Factory plugins free?

The video starts with free WP Factory plugins for shipping method and for category and tag rules, then shows pro plugins for product, country, location and currency rules. Check WP Factory's site for current plans.

Seahawk Learn for brands

Want a deeper dive than a product review?

Product reviews are short write-ups. A Seahawk Learn video goes deeper: a full walkthrough of your product on our YouTube channel and here, with a written step-by-step guide.