Install and set up Payment Gateways per Products #
To show or hide WooCommerce payment methods based on what is in the cart, install Payment Methods by Product & Country for WooCommerce. Once active, the plugin lets you control which gateways appear for each product category, product tag, individual product, or billing country. This guide covers installation and the first configuration.

Install the plugin #
- Log in to your WordPress dashboard.
- Go to Plugins > Add New.
- Search for Payment Gateways per Products.
- Click Install Now on the plugin by WPFactory, then click Activate.
To upload manually, download the ZIP, go to Plugins > Add New > Upload Plugin, choose the file, click Install Now, then Activate.
Open the settings #
Go to WPFactory > Payment Gateways per Products (also reachable at WooCommerce > Settings > Payment Gateways per Products). On activation the plugin changes nothing until you set your first rule, so no gateways are hidden by default.
Set your first rule #
- Open the Product Categories or Product Tags tab (both are available in the free version and enabled by default).
- Find the payment gateway you want to control. Each gateway has an Include field and an Exclude field.
- Add a category (or tag) to Include to show that gateway only when a matching product is in the cart, or to Exclude to hide that gateway when a matching product is in the cart.
- Click Save changes.
Note: There is no master on/off switch for the plugin. Each section has its own Enable section checkbox. The Product Categories and Product Tags sections are on by default; the Products and Countries sections are part of Pro.
What is free and what is Pro #
| Feature | Free/Pro |
|---|---|
| Rules by product category | Free |
| Rules by product tag | Free |
| Rules by individual product and variation | Pro |
| Rules by billing country | Pro |
| Fallback gateway for conflicting carts | Pro |
Get more control #
Category and tag rules are free. Payment Methods by Product & Country for WooCommerce Pro adds per-product, per-variation and per-country rules plus a fallback gateway. See what Pro unlocks.
