---
title: Payment Gateways per Product or Category For WooCommerce plugin
description: "## Overview You can configure payment gateways by products and product categories using this option. You can set to display or hide specific gateways by a product and/or a product category, i.e., a gateway will be displayed only if a…"
url: "https://booster.io/docs/woocommerce-payment-gateways-per-product-or-category/"
updated: "2025-12-23"
category: Payment Gateways
---

# Payment Gateways per Product or Category For WooCommerce plugin

## Overview

You can configure payment gateways by products and product categories using this option. You can set to display or hide specific gateways by a product and/or a product category, i.e., a gateway will be displayed only if a product from that category is present in the customer’s cart or if the chosen product is present in the customer’s cart.

## Enabling Payment Gateways per Product or Category

To enable and use the Gateways per Product or Category plugin, you should first download and install [Booster for WooCommerce](https://wordpress.org/plugins/woocommerce-jetpack/).

1. Navigate to **Booster** > **Plugins > Payment Gateways**.
2. Select **Enable **for the **Gateways per Product or Category** plugin and click the **Save Changes **button.

![Enabling Payment Gateways per Product or Category](https://booster.io/wp-content/uploads/payment-gateways-by-products1.png)

The **WooCommerce Gateways per Product or Category **plugin will be enabled for your site.

## Configuring Gateways per Product or Category in a Woo Store

### General Options

Select **Enable** for the **Use Variations **option in the **General Options **tab if you want to configure different settings for different variable products.

![General Options](https://booster.io/wp-content/uploads/payment-gateways-by-products2.png)

### Payment Gateways

In the **Gateways** section, enter/select the required values for the fields.

![Payment Gateways](https://booster.io/wp-content/uploads/payment-gateways-by-products3.png)

Refer to the table below for field descriptions:

**Note**: The sub-sections in the **Payment Gateways** section – Direct bank transfer, Check payments, Cash on delivery, PayPal, etc. – all have the same set of fields.

| **Field** | **Description** |
| --- | --- |
| Product Categories – Include | If at least one product belonging to any of the categories specified in this field is in the customer’s cart, only then the gateway should be displayed. |
| Product Categories – Exclude | If any one product belonging to the categories specified in this field is in the cart, then the gateway should be hidden. |
| Product – Include | If at least one product specified in this field is in the customer’s cart, only then the gateway should be displayed. |
| Product – Exclude | If any one product specified in this field is in the cart, then the gateway should be hidden. |

Once you edit and save changes, the payment gateways will be configured per product and/or category.

## Output

A sample checkout page where the payment gateways **Direct bank transfer** and **Cash on delivery** are enabled for the **Product Category – Cake **and **Product – Chocolate Cake**:

![Output](https://booster.io/wp-content/uploads/payment-gateways-by-products4.png)
