---
title: "How to Set Payment Gateways per Product in WooCommerce: Installation"
description: "Install Payment Methods by Product & Country for WooCommerce and set your first payment gateway rule."
url: "https://wpfactory.com/docs/payment-gateways-products/"
updated: "2026-09-26"
category: Getting Started
tags:
  - "Payment Methods by Product & Country for WooCommerce"
---

# How to Set Payment Gateways per Product in WooCommerce: Installation

## 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](https://wpfactory.com/item/payment-gateways-per-product-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.

![Payment Gateways per Products settings screen in WooCommerce](https://wpfactory.com/wp-content/uploads/article1-1.png)

### Install the plugin

1. Log in to your WordPress dashboard.
2. Go to **Plugins > Add New**.
3. Search for **Payment Gateways per Products**.
4. 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

1. Open the **Product Categories** or **Product Tags** tab (both are available in the free version and enabled by default).
2. Find the payment gateway you want to control. Each gateway has an **Include** field and an **Exclude** field.
3. 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.
4. 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](https://wpfactory.com/item/payment-gateways-per-product-for-woocommerce/) Pro adds per-product, per-variation and per-country rules plus a fallback gateway. [See what Pro unlocks](https://wpfactory.com/item/payment-gateways-per-product-for-woocommerce/).

Related articles

- [Configuring Payment Gateways per Products: Settings Overview](https://wpfactory.com/docs/configuring-payment-gateways/)
- [Payment Gateways Not Showing for Assigned Products or Categories](https://wpfactory.com/docs/payment-gateways-not-showing/)
- [Assign Payment Gateways to Individual Products](https://wpfactory.com/docs/assigning-gateways-products/)
- [Assign Payment Gateways by Product Tag](https://wpfactory.com/docs/managing-gateways-tags/)
- [Assign Payment Gateways by Product Category](https://wpfactory.com/docs/gateways-product-categories/)

 

[![Payment Methods by Product & Country for WooCommerce](https://wpfactory.com/wp-content/uploads/Payment-Methods-by-Product-Country-for-WooCommerce.webp)](https://wpfactory.com/item/payment-gateways-per-product-for-woocommerce/)
