Restrict Payment Methods For WooCommerce Security & Risk Analysis

wordpress.org/plugins/restrict-payment-methods-for-woocommerce

Restrict WooCommerce payment gateways based on flexible conditions like totals, products, user roles, shipping methods, and more.

100 active installs v1.0 PHP 7.4+ WP 5.0+ Updated Mar 2, 2026
checkoutconditionalpaymentrestrictionswoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Restrict Payment Methods For WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Restrict Payment Methods For WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1mo ago
Risk Assessment

The plugin "restrict-payment-methods-for-woocommerce" version 1.0 exhibits a mixed security posture. While the absence of known vulnerabilities and the use of prepared statements for SQL queries are positive signs, significant concerns arise from the attack surface. Two AJAX handlers are present, and alarmingly, both lack authentication checks. This creates a direct pathway for unauthenticated users to interact with potentially sensitive plugin functionalities. The limited code analysis data, including zero taint flows, makes it difficult to assess the impact of these unprotected entry points fully. However, the mere existence of unprotected AJAX handlers is a substantial risk. The plugin also only has one capability check, which is insufficient for robust access control on multiple entry points. The vulnerability history being clean is a good indicator, but it does not negate the current risks identified in the static analysis. The primary weakness lies in the lack of proper authorization for its AJAX endpoints, which could lead to unauthorized actions if these handlers are not carefully implemented and secured within their execution context.

Key Concerns

  • Unprotected AJAX handlers
  • Low number of capability checks
  • Lack of nonce checks on AJAX
  • Moderate percentage of unescaped output
Vulnerabilities
None known

Restrict Payment Methods For WooCommerce Security Vulnerabilities

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

Restrict Payment Methods For WooCommerce Code Analysis

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

Bundled Libraries

Select2

Output Escaping

63% escaped41 total outputs
Attack Surface
2 unprotected

Restrict Payment Methods For WooCommerce Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

noprivwp_ajax_GMWRPM_get_productincludes\GMWRPM_Comman.php:8
authwp_ajax_GMWRPM_get_productincludes\GMWRPM_Comman.php:9
WordPress Hooks 10
actionadmin_enqueue_scriptsincludes\GMWRPM_Admin.php:21
actioninitincludes\GMWRPM_Admin.php:22
actionadd_meta_boxesincludes\GMWRPM_Admin.php:23
actioninitincludes\GMWRPM_Comman.php:6
actionedit_postincludes\GMWRPM_Comman.php:12
actioninitincludes\GMWRPM_Cron.php:7
filterinitincludes\GMWRPM_Frontend.php:15
filterwpincludes\GMWRPM_Frontend.php:16
filterwoocommerce_available_payment_gatewaysincludes\GMWRPM_Frontend.php:18
actionwp_enqueue_scriptsincludes\GMWRPM_Frontend.php:31
Maintenance & Trust

Restrict Payment Methods For WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 2, 2026
PHP min version7.4
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs100
Developer Profile

Restrict Payment Methods For WooCommerce Developer Profile

theme funda

26 plugins · 12K total installs

87
trust score
Avg Security Score
98/100
Avg Patch Time
85 days
View full developer profile
Detection Fingerprints

How We Detect Restrict Payment Methods 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/restrict-payment-methods-for-woocommerce/assets/css/admin-style.css/wp-content/plugins/restrict-payment-methods-for-woocommerce/assets/js/select2/select2.css/wp-content/plugins/restrict-payment-methods-for-woocommerce/assets/js/select2/select2.js/wp-content/plugins/restrict-payment-methods-for-woocommerce/assets/js/admin-script.js
Script Paths
/wp-content/plugins/restrict-payment-methods-for-woocommerce/assets/js/select2/select2.js/wp-content/plugins/restrict-payment-methods-for-woocommerce/assets/js/admin-script.js

HTML / DOM Fingerprints

JS Globals
GMWRPM_AdminData
FAQ

Frequently Asked Questions about Restrict Payment Methods For WooCommerce