How to work with payment gateways per category
Payment gateway per product
Payment gateway per product
The WooCommerce Product Payments plugin allows you to control which payment gateways are available per product or per product category.
Think of it as a gatekeeper at checkout: only the allowed payment methods are shown to the customer.
Within the plugin settings, the Categories section allows you to control payment gateways per category.
You can enable or disable category-based filtering for each payment gateway.
Enabled: Rules are applied
Disabled: Gateway is available for all products
📸 Screenshot – Enable Category Filter 👉 [Insert screenshot: toggle switch for category filtering]
You can define exactly which categories are allowed or blocked per payment gateway.
If you include a category for one gateway, and you want it to be exclusive, you must exclude it from other gateways.
👉 Otherwise, the category may still appear in multiple gateways.
📸 Screenshot – Include / Exclude Categories 👉 [Insert screenshot: category selection UI per gateway]
Enable category filtering for a payment gateway
Include the categories that should allow this gateway
For other gateways:
📸 Screenshot – Example Configuration 👉 [Insert screenshot: one gateway include + others exclude]
Category: Premium Products
Allowed gateway: Wire Transfer only
Setup:
Include “Premium Products” under Wire Transfer
Exclude “Premium Products” under all other gateways
📸 Screenshot – Exclusive Gateway Setup 👉 [Insert screenshot: Wire Transfer include + others exclude]
Category: Gift Cards
Gateway: PayPal should NOT be allowed
Setup:
📸 Screenshot – Excluding a Category 👉 [Insert screenshot: PayPal exclude setting]
When customers add multiple products with different gateway rules:
You can configure how payment methods are determined:
Common gateways only (default) Only shared payment methods across all products are shown
Cheapest gateway Automatically selects the lowest-cost payment option
Most expensive gateway Forces the highest-cost payment method
📸 Screenshot – Cart with Multiple Products 👉 [Insert screenshot: checkout showing filtered gateways]
Without proper exclusions, categories may unintentionally remain available across multiple gateways.
Proper configuration prevents confusing combinations like:
Cash on Delivery for high-value items
Unsupported payment methods for specific products
| Setting | Action | Result |
|---|---|---|
| Enable toggle | Activate category filtering | Rules apply at checkout |
| Include category | Assign category to gateway | Gateway allowed for that category |
| Exclude category | Block category for gateway | Gateway hidden for that category |
| No exclusions | Only include used | May cause unintended overlap |
If you want a payment gateway to be exclusive for a category:
👉 Include it for that gateway 👉 Exclude it everywhere else
Think of it like access control:
Include = allow access
Exclude = deny access
Most issues come from:
Forgetting to exclude categories in other gateways
Misunderstanding cart behavior with multiple products
👉 When in doubt: check both include AND exclude settings