Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules Security & Risk Analysis

wordpress.org/plugins/nikan-conditional-payment-gateways-for-woocommerce

Show or hide WooCommerce payment gateways based on cart total, shipping country, coupon, login status, and more — no code required.

0 active installs v1.0.0 PHP 7.4+ WP 5.8+ Updated Apr 3, 2026
checkoutconditionalhide-payment-methodpayment-gatewayswoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules Safe to Use in 2026?

Generally Safe

Score 100/100

Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules 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 "nikan-conditional-payment-gateways-for-woocommerce" v1.0.0 exhibits a strong security posture in several key areas. Its static analysis reveals a complete absence of dangerous functions, 100% use of prepared statements for SQL queries, and 100% proper output escaping, indicating good coding practices regarding data handling and output sanitization. Furthermore, the presence of multiple nonce and capability checks on its entry points, coupled with zero unprotected entry points, suggests a well-implemented access control mechanism. The plugin's clean vulnerability history with zero recorded CVEs further reinforces this positive outlook, suggesting a history of responsible development and maintenance.

However, the taint analysis raises a significant concern. Six out of nine analyzed flows were identified as having unsanitized paths with high severity. While the static analysis might not have flagged direct SQL injection or XSS due to prepared statements and output escaping, these high-severity taint flows indicate potential pathways for sensitive data to be mishandled or for unintended logic to be triggered within the plugin. This is the primary area requiring attention and further investigation. The absence of bundled libraries is a minor positive, as it reduces the risk of known vulnerabilities in third-party components. Overall, the plugin demonstrates good fundamental security practices, but the identified high-severity unsanitized flows represent a notable risk that needs to be addressed.

Key Concerns

  • High severity unsanitized taint flows found
Vulnerabilities
None known

Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules Release Timeline

v1.0.0Current
Code Analysis
Analyzed Apr 16, 2026

Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
13 prepared
Unescaped Output
1
683 escaped
Nonce Checks
6
Capability Checks
9
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

100% prepared13 total queries

Output Escaping

100% escaped684 total outputs
Data Flows · Security
7 unsanitized

Data Flow Analysis

9 flows7 with unsanitized paths
extra_tablenav (includes/class-nwpcpg-rules-list-table.php:504)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules Attack Surface

Entry Points3
Unprotected0

AJAX Handlers 3

authwp_ajax_nwpcpg_get_statesincludes/class-nwpcpg-admin.php:62
authwp_ajax_nwpcpg_toggle_ruleincludes/class-nwpcpg-admin.php:63
authwp_ajax_nwpcpg_reorder_rulesincludes/class-nwpcpg-admin.php:64
WordPress Hooks 6
actionadmin_menuincludes/class-nwpcpg-admin.php:61
actionadmin_enqueue_scriptsincludes/class-nwpcpg-assets.php:35
filterwoocommerce_available_payment_gatewaysincludes/class-nwpcpg-plugin.php:104
filterwoocommerce_store_api_checkout_payment_gatewaysincludes/class-nwpcpg-plugin.php:112
actionadmin_noticesnikan-conditional-payment-gateways-for-woocommerce.php:84
actionplugins_loadednikan-conditional-payment-gateways-for-woocommerce.php:100
Maintenance & Trust

Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedApr 3, 2026
PHP min version7.4
Downloads55

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules Developer Profile

NikanWP

4 plugins · 90 total installs

79
trust score
Avg Security Score
100/100
Avg Patch Time
183 days
View full developer profile
Detection Fingerprints

How We Detect Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/nikan-conditional-payment-gateways-for-woocommerce/assets/admin.css/wp-content/plugins/nikan-conditional-payment-gateways-for-woocommerce/assets/admin.js
Script Paths
/wp-content/plugins/nikan-conditional-payment-gateways-for-woocommerce/assets/admin.js
Version Parameters
nikan-conditional-payment-gateways-for-woocommerce/assets/admin.css?ver=nikan-conditional-payment-gateways-for-woocommerce/assets/admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
nwpcpg-admin
Data Attributes
data-noncedata-ajaxurldata-sortableenableddata-priceformat
JS Globals
nwpcpgAdmin
FAQ

Frequently Asked Questions about Conditional Payment Gateways for WooCommerce – Hide Payment Methods by Rules