View Categories

Payment Gateways Not Showing for Assigned Products/Categories

Table of Contents

Problem Description #

After setting certain payment gateways to be available (or hidden) for products/categories/tags, checkout still shows all gateways or shows incorrect ones, meaning the plugin’s filtering logic seems not to work.

Common Symptoms

  • You configured product/category-based restrictions, but at checkout all payment methods still appear.
  • The “excluded” payment methods are still available.
  • Changes don’t reflect after saving settings.

Cause

  • Misconfiguration: selecting both “include” and “exclude” options for the same gateway/category combination — which conflicts. Developers warn that include and exclude should not be combined for same rule. WPFactory
  • Browser caching or page cache / server cache or shop caching plugin preventing updated gateway list from loading. WPFactory+1
  • Not saving or reloading checkout/cart after making changes, causing stale data.

Solution (step-by-step)

  1. Go to WooCommerce → Settings → Payment Methods by Product & Country.
  2. For each payment gateway, for each product/category/tag rule: ensure you use either “Include” or “Exclude”, not both simultaneously.
  3. Save the settings.
  4. Clear any cache — including browser cache, WordPress caching plugin, server or CDN cache. Then force‑refresh checkout page (e.g. Ctrl+Shift+R).
  5. Test with a clean cart (add product to cart, then go checkout) to verify gateways reflect rule.
  6. If still incorrect: disable other payment‑management plugins or custom code (especially those that modify checkout / gateways) and retest.

Prerequisites

  • Latest version of the plugin. Developers maintain up-to-date compatibility. WPFactory+1
  • Ensure WooCommerce payment gateways are enabled in WooCommerce → Payments (the plugin builds on enabled gateways).

Additional Notes

  • Document your rules (which categories/tags use which gateways), helps debugging when issues arise.

  • After bulk changes (many categories/products), always re‑save and clear caches.

 

Payment Methods by Product & Country for WooCommerce