---
title: "Custom or Third-Party Gateways Not Filtered Correctly"
description: "Custom or wallet-style WooCommerce payment gateways not filtered by product rules? Cause and solution."
url: "https://wpfactory.com/docs/custom-payment-gateways-issue/"
updated: "2026-09-27"
category: Troubleshooting
tags:
  - "Payment Methods by Product & Country for WooCommerce"
---

# Custom or Third-Party Gateways Not Filtered Correctly

If a custom or third-party gateway is not filtered correctly by [Payment Methods by Product & Country for WooCommerce](https://wpfactory.com/item/payment-gateways-per-product-for-woocommerce/), confirm it is enabled in WooCommerce > Settings > Payments and pick it from the plugin's list. If the gateway adds itself later, change Add filter in the General tab to On "wp_loaded" action, then save and test.

### Common symptoms

- A custom or wallet gateway still shows for products where you excluded it.
- A custom gateway never appears, even for products where you included it.
- Behavior is inconsistent when several gateway plugins are active together.

### Cause

The plugin filters whatever gateways WooCommerce reports through the standard `woocommerce_available_payment_gateways` list. Gateways that add or remove themselves later, or register under an ID different from what you expect, may not line up with your Include/Exclude selections.

### Solution

1. Confirm the gateway is genuinely enabled and listed in **WooCommerce > Settings > Payments**.
2. Set your rule against that exact gateway as it appears in the plugin's section screens (the plugin lists every gateway WooCommerce reports, so pick it from the list rather than guessing an ID).
3. Save, clear caches, and test checkout with different products.
4. Isolate conflicts: test with only WooCommerce, the gateway plugin and this plugin active.
5. If a gateway adds itself after this plugin runs, try changing **Add filter** (General tab) to *On "wp_loaded" action* so the filter registers later.
6. If it still will not filter, contact the gateway's developer for compatibility, or reach WPFactory support with the gateway name and your settings.

### Prerequisites

- The gateway is active and visible in WooCommerce.
- Both this plugin and the gateway plugin are up to date.

### Need a hand?

Tell us which gateway is involved on the [Payment Gateways per Products support forum](https://wpfactory.com/support/item/payment-gateways-per-product-for-woocommerce/).

Related articles

- [Payment Gateways Not Showing for Assigned Products or Categories](https://wpfactory.com/docs/payment-gateways-not-showing/)
- [Restrict Payment Gateways by Billing Country](https://wpfactory.com/docs/restricting-gateways-country/)
- [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/)
