---
title: "Payment Methods by Product & Country: Advanced Troubleshooting"
description: "Advanced troubleshooting for WooCommerce payment methods by product: rule out conflicts, try the Add filter timing, check errors."
url: "https://wpfactory.com/docs/advanced-troubleshooting/"
updated: "2026-09-26"
category: Troubleshooting
tags:
  - "Payment Methods by Product & Country for WooCommerce"
---

# Payment Methods by Product & Country: Advanced Troubleshooting

## Advanced troubleshooting

For advanced troubleshooting of [Payment Methods by Product & Country for WooCommerce](https://wpfactory.com/item/payment-gateways-per-product-for-woocommerce/), deactivate other plugins and switch to a default theme to find conflicts. If gateways are not filtered at all, change Add filter in the General tab to On "wp_loaded" action or In constructor. Also check the WP_DEBUG log and the browser console for errors.

### Rule out a plugin or theme conflict

1. Temporarily deactivate your other plugins, then retest checkout.
2. If the problem clears, reactivate them one at a time to find the one responsible.
3. Switch to a default theme (for example Storefront) to rule out theme JavaScript on the checkout page.

### Try the "Add filter" timing option

If gateways are not being filtered at all, another plugin may be registering payment gateways later than expected. In the **General** tab, change **Add filter** (`alg_wc_pgpp_advanced_add_hook`) from the default *On "init" action* to *On "wp_loaded" action* or *In constructor*, save, and retest.

### Check for errors

- Enable `WP_DEBUG` and review the server error log for PHP notices.
- Open the browser console (F12) on the checkout page and look for JavaScript errors that could stop the payment list from rendering.

### Confirm the gateway is available to begin with

The plugin only reorders or removes gateways that WooCommerce already offers. If a gateway is disabled in **WooCommerce > Settings > Payments**, or hidden by another payment-rules plugin, this plugin cannot bring it back.

### Need a hand?

Send us your WordPress and WooCommerce versions, active plugins, and a description of the cart that misbehaves, on the [Payment Gateways per Products support forum](https://wpfactory.com/support/item/payment-gateways-per-product-for-woocommerce/).

Related articles

- [Payment Methods by Product & Country: Additional Tips](https://wpfactory.com/docs/payment-gateways-per-product-additional-tips/)
- [Payment Methods by Product & Country: Reset a Settings Section](https://wpfactory.com/docs/payment-gateways-reset-a-settings-section/)
- [Payment Methods by Product & Country: Developer Hooks and Filters Reference](https://wpfactory.com/docs/payment-gateways-developer-hooks-filters/)
- [Set Payment Methods from the Product Edit Page](https://wpfactory.com/docs/woocommerce-payment-methods-product-edit-page/)
- [Restrict Payment Methods by Country with Multiple Conditions](https://wpfactory.com/docs/woocommerce-payment-methods-by-country-multiple-conditions/)

 

[![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/)
