⌘ K

Search

Search portal content

Dreamfox MediaDreamfox Media
⌘ K

Search

Search portal content

Dreamfox MediaDreamfox Media
    • Automatic Installation
    • Using with my Wordpress theme
    • Can I use this plugin with my existing Wordpress theme?
    • The plugin is not working
    • How to work with payment gateways per category
    • Payment Options Not Visible in Sidebar
    • Where can DFM Gateway plugin for WooCommerce be used for?
    • Where can I set different payments methods?
    • Automatic Installation free DFM Payment plugin for WooCommerce
    • Manual Installation Method 1 DFM Payment Gateway plugin for WooCommerce
    • Manual Installation Method 2 DFM Payment Gateway plugin for WooCommerce
    • How to Use the Tag Option
  1. Home
  2. WooCommerce Plugins
  3. Payment gateway per product

How to work with payment gateways per category

Payment gateway per product

How to work with payment gateways per category

📄 WooCommerce Product Payments – Using Payment Gateways per Category

📚 Overview

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.


⚙️ Key Feature: Category-Based Rules

Within the plugin settings, the Categories section allows you to control payment gateways per category.


🔘 Enable / Disable Category Filtering

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]


➕ Include / ➖ Exclude Categories per Gateway

You can define exactly which categories are allowed or blocked per payment gateway.

Important Rule:

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]


🧠 How to Use It Effectively

  1. Enable category filtering for a payment gateway

  2. Include the categories that should allow this gateway

  3. For other gateways:

    • Explicitly exclude those same categories

📸 Screenshot – Example Configuration 👉 [Insert screenshot: one gateway include + others exclude]


🧪 Examples

Example 1: Exclusive Payment Method

  • 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]


Example 2: Block a Gateway

  • Category: Gift Cards

  • Gateway: PayPal should NOT be allowed

Setup:

  • Exclude “Gift Cards” under PayPal

📸 Screenshot – Excluding a Category 👉 [Insert screenshot: PayPal exclude setting]


🔀 Cart Behavior (Important)

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]


⚠️ Why This Matters

Avoid Overlapping Rules

Without proper exclusions, categories may unintentionally remain available across multiple gateways.


Keep Checkout Clean

Proper configuration prevents confusing combinations like:

  • Cash on Delivery for high-value items

  • Unsupported payment methods for specific products


📋 Quick Recap

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

💡 Final Tip

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


🚀 Pro Tip (Support Saver)

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

​

On this page
  • How to work with payment gateways per category
  • 📄 WooCommerce Product Payments – Using Payment Gateways per Category
  • 📚 Overview
  • ⚙️ Key Feature: Category-Based Rules
  • 🔘 Enable / Disable Category Filtering
  • ➕ Include / ➖ Exclude Categories per Gateway
  • 🧠 How to Use It Effectively
  • 🧪 Examples
  • Example 1: Exclusive Payment Method
  • Example 2: Block a Gateway
  • 🔀 Cart Behavior (Important)
  • ⚠️ Why This Matters
  • Avoid Overlapping Rules
  • Keep Checkout Clean
  • 📋 Quick Recap
  • 💡 Final Tip
  • 🚀 Pro Tip (Support Saver)
The plugin is not working
Payment Options Not Visible in Sidebar
Powered by initdesk