Product Icon

Toggle Payments by Category for WooCommerce

Show or hide payment methods at checkout based on the product categories in the cart.
Choose a billing option
$39
Save 20%
$78 $62.40

Subscription includes

  • Product updates and improvements
  • Customer support
  • 30-day money-back guarantee

Toggle Payments by Category lets you choose which payment methods your customers see at checkout, based on the product categories in their cart.

For example, you can hide Cash On Delivery when an online course is in the cart, or offer Bank Transfer only for furniture orders.

  • Hide or show any payment method for one product category, or for a category and all its subcategories
  • Add as many rules as you need, one row each, in the order you want them checked
  • Works on the classic and the block checkout, and on the Pay for order page
  • Also hides express payment buttons from PayPal Payments, WooPayments, Stripe, Square, Mollie and Afterpay
  • Lightweight: one settings screen, no extra database tables and no external requests

Is Toggle Payments by Category right for you?

It is for stores where some products should only be paid in certain ways: courses that can’t be paid on delivery, large orders that need a bank transfer, gift cards or deposits that must skip buy now pay later.

Hide a payment method for one category

Add a Hide rule and the payment method disappears whenever a product from that category is in the cart. In this store, Cash On Delivery is hidden for Online Courses, so a customer buying a course never sees it.

Hide a payment method for one category

Offer a payment method only for one category

A Show rule does the opposite: the payment method appears only when a product from that category is in the cart. Tick “Incl. Subcats?” and one Furniture rule also covers Sofas, Tables and Chairs, so Direct Bank Transfer shows up for a sofa and stays hidden for everything else.

Offer a payment method only for one category

Manage every rule on one screen

All rules live in one table under WooCommerce > Settings > Toggle Payments by Category. Each row is a payment method, Hide or Show, and a category. Rules are checked from top to bottom, and you can move them up or down at any time.

Manage every rule on one screen

Keep express payment buttons in line

Some gateways add express buttons, such as Apple Pay or PayPal, on the cart, checkout or product page, outside the normal payment list. The extension hides those buttons too for WooCommerce PayPal Payments, WooPayments, WooCommerce Stripe Payment Gateway, WooCommerce Square, Mollie and Afterpay, so a hidden payment method does not come back through a shortcut.

Works with

  • Every payment method listed in WooCommerce > Settings > Payments
  • The classic checkout, the Cart and Checkout blocks, and the Pay for order page
  • Simple and variable products (a variation uses the categories of its parent product)
  • High-Performance Order Storage (HPOS)
  • The WordPress Abilities API, for AI agents (WordPress 6.9 and later)

How to get started

  • Install and activate the extension.
  • Go to WooCommerce > Settings > Toggle Payments by Category.
  • Pick a payment method, choose Hide or Show, and pick a product category. Tick Incl. Subcats? if the rule should cover child categories too.
  • Save, then add a product from that category to the cart and check the payment options.

What store owners say

I use it for some custom category products which are Telephone Order Only or Bank Transfer. Works like a charm and the support is first class.

Steve Callaghan

Excellent, easy-to-use plugin that works perfectly for our needs (eliminating AfterPay option for gift cards and deposits).

Matt Rock

I needed to block the wire transfer on some services and this easy to use plugin allowed me to do just that!

Teo Scarpellini

Ready for AI agents

The extension registers its rules with the WordPress Abilities API. An AI agent connected to your store through MCP, such as Claude, ChatGPT or Cursor, can list, add and remove payment rules for you. Only administrators and shop managers can use these abilities, and every change is checked before it is saved.

Built by a store owner

Rodolfo Melogli

Toggle Payments by Category is made by Rodolfo Melogli, who has spent years building WooCommerce stores and writing about them at Business Bloomer. It started as a code snippet for hiding a payment method by category. Store owners kept asking for more, like Show rules, subcategories and express buttons, so he turned it into an extension. He still answers support himself.


Frequently asked questions

Which payment methods does it work with?

Every payment method listed in WooCommerce > Settings > Payments. It also hides express buttons from WooCommerce PayPal Payments, WooPayments, Stripe, Square, Mollie and Afterpay.

Does it work with the block checkout?

Yes. Rules apply on the block checkout, the classic checkout and the Pay for order page.

Can one rule cover a parent category and its children?

Yes. Tick "Incl. Subcats?" on the row and the rule also matches every subcategory.

Can I use more than one category in a rule?

Each rule uses one category. Add one row per category, or use a parent category with "Incl. Subcats?" ticked.

What happens if the cart has products from several categories?

Every matching rule applies. A Hide rule for any of those categories hides the payment method.

Why did a payment method disappear for every order?

Look for a "Show" rule for that payment method. "Show" hides it whenever no product from the category is in the cart.

Does it work with variable products?

Yes. A variation uses the categories of its parent product.

Does it affect orders I create in the admin?

No. It only changes what customers see at checkout and on the Pay for order page.

Is it compatible with High-Performance Order Storage (HPOS)?

Yes

Does it slow down my store?

No. Rules are stored in a single option, the extension adds no database tables and makes no external requests.

What happens to my rules if I deactivate it?

They are kept but remain unactive. To remove them when you delete the extension, tick "Delete all plugin data on uninstall" in the settings first.

Where can I get help?

Read the documentation first, then open a ticket from your WooCommerce.com account.

Related Products

Price $279 annually
Rated 3.9 out of 5 stars
Price $79 annually
Rated 3.4 out of 5 stars
Price $59 annually
Rated 3.1 out of 5 stars
Price $109 annually
Rated 2.8 out of 5 stars
Price $49 annually
Rated 4.1 out of 5 stars
Price $109 annually
Rated 2 out of 5 stars
Price $109 annually
Rated 2.5 out of 5 stars
Price $39 annually
Rated 2.8 out of 5 stars
Price $199 annually
Rated 4 out of 5 stars
Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.