Payment Methods by Product & Country for WooCommerce Security & Risk Analysis

wordpress.org/plugins/payment-gateways-per-product-categories-for-woocommerce

Use products and countries conditional rules to show/hide gateways, increase profit margins & optimize operations for your products by restricting …

5K active installs v1.8.4 PHP + WP 4.4+ Updated Dec 11, 2025
conditional-paymentspayment-by-countrypayment-by-productpayment-gatewaywoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Payment Methods by Product & Country for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Payment Methods by Product & Country for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3mo ago
Risk Assessment

The plugin "payment-gateways-per-product-categories-for-woocommerce" v1.8.4 exhibits a mixed security posture. On the positive side, it demonstrates good practices regarding database interactions, utilizing prepared statements exclusively and avoiding file operations and external HTTP requests. The absence of any recorded vulnerabilities or CVEs in its history is also a strong indicator of diligent development and maintenance. However, significant security concerns arise from its attack surface. With two AJAX handlers identified, both lacking any authentication checks, there is a substantial risk of unauthorized actions being performed on the WordPress site. Furthermore, the analysis reveals a lack of nonce checks and capability checks, which are fundamental security mechanisms for WordPress plugins. While taint analysis shows no immediate critical or high-severity flows, the absence of proper output escaping on nearly half of the analyzed outputs is a concern, potentially leading to cross-site scripting (XSS) vulnerabilities if user-supplied data is improperly handled. The strengths lie in its data handling and lack of past vulnerabilities, but the uncovered weaknesses in authentication, authorization, and output sanitization present clear and actionable risks.

Key Concerns

  • AJAX handlers without auth checks
  • Outputs not properly escaped
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Payment Methods by Product & Country for WooCommerce Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Payment Methods by Product & Country for WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
1 prepared
Unescaped Output
5
4 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

100% prepared1 total queries

Output Escaping

44% escaped9 total outputs
Attack Surface
2 unprotected

Payment Methods by Product & Country for WooCommerce Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

authwp_ajax_noprev_alg_wc_pgpp_get_productsincludes\class-alg-wc-pgpp-core.php:40
authwp_ajax_alg_wc_pgpp_get_productsincludes\class-alg-wc-pgpp-core.php:41
WordPress Hooks 16
actionwp_loadedincludes\class-alg-wc-pgpp-core.php:30
actioninitincludes\class-alg-wc-pgpp-core.php:32
actionadmin_enqueue_scriptsincludes\class-alg-wc-pgpp-core.php:36
actionadmin_footerincludes\class-alg-wc-pgpp-core.php:38
filterwoocommerce_available_payment_gatewaysincludes\class-alg-wc-pgpp-core.php:165
filterwoocommerce_get_sections_alg_wc_pgppincludes\settings\class-alg-wc-pgpp-settings-section.php:40
actionadd_meta_boxesincludes\settings\class-alg-wc-pgpp-settings-section.php:44
actionsave_post_productincludes\settings\class-alg-wc-pgpp-settings-section.php:45
actionadmin_noticesincludes\settings\class-alg-wc-settings-pgpp.php:77
actionbefore_woocommerce_initpayment-gateways-per-product-for-woocommerce.php:40
actioninitpayment-gateways-per-product-for-woocommerce.php:143
actioninitpayment-gateways-per-product-for-woocommerce.php:200
actioninitpayment-gateways-per-product-for-woocommerce.php:203
filterwoocommerce_get_settings_pagespayment-gateways-per-product-for-woocommerce.php:206
actionadmin_initpayment-gateways-per-product-for-woocommerce.php:210
actionplugins_loadedpayment-gateways-per-product-for-woocommerce.php:357
Maintenance & Trust

Payment Methods by Product & Country for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 11, 2025
PHP min version
Downloads141K

Community Trust

Rating84/100
Number of ratings18
Active installs5K
Developer Profile

Payment Methods by Product & Country for WooCommerce Developer Profile

WPFactory

63 plugins · 136K total installs

86
trust score
Avg Security Score
97/100
Avg Patch Time
90 days
View full developer profile
Detection Fingerprints

How We Detect Payment Methods by Product & Country for WooCommerce

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/payment-gateways-per-product-categories-for-woocommerce/includes/settings/class-alg-wc-settings-pgpp.php

HTML / DOM Fingerprints

Data Attributes
data-wc-pgpp-admin-nonce
JS Globals
alg_wc_pgpp_data
FAQ

Frequently Asked Questions about Payment Methods by Product & Country for WooCommerce