Conditional Payment Methods for WooCommerce Security & Risk Analysis

wordpress.org/plugins/conditional-payments

Allows store owners to restrict payment methods based on the various conditions!

1K active installs v1.2.2 PHP 5.6+ WP 5.0+ Updated Jul 18, 2025
conditional-paymentspayment-methodswoocommerce-payments
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Conditional Payment Methods for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Conditional 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 8mo ago
Risk Assessment

The "conditional-payments" plugin version 1.2.2 exhibits a concerning security posture primarily due to its unprotected entry points. While the code demonstrates good practices in areas like SQL query preparation and output escaping, the presence of five AJAX handlers without any authentication or capability checks presents a significant risk. This means any unauthenticated user could potentially interact with these handlers, leading to unintended actions or information disclosure if not properly secured within the handler logic itself.

The absence of taint analysis results and known vulnerabilities is positive, suggesting the codebase might be relatively clean or has not yet been a target for widespread exploitation. The plugin also uses prepared statements for its SQL query and has a high percentage of properly escaped output, which are strong security indicators. However, the reliance on unprotected AJAX handlers overshadows these strengths. The bundled libraries, Select2 and Freemius v1.0, are generally well-maintained, but their specific versions are not detailed, which could pose a risk if they are outdated.

In conclusion, the plugin has positive aspects such as secure SQL handling and good output escaping. Yet, the critical weakness lies in its exposed AJAX endpoints. The lack of known vulnerabilities to date is encouraging but does not negate the inherent risk of unprotected AJAX handlers. A significant effort should be made to implement proper authentication and authorization checks on all AJAX endpoints to mitigate the risk of unauthorized access and manipulation.

Key Concerns

  • Unprotected AJAX handlers
  • Large attack surface without auth
  • No capability checks on AJAX
Vulnerabilities
None known

Conditional Payment Methods for WooCommerce Security Vulnerabilities

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

Conditional Payment Methods for WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
1 prepared
Unescaped Output
18
257 escaped
Nonce Checks
11
Capability Checks
0
File Operations
0
External Requests
1
Bundled Libraries
2

Bundled Libraries

Select2Freemius1.0

SQL Query Safety

100% prepared1 total queries

Output Escaping

93% escaped275 total outputs
Attack Surface
5 unprotected

Conditional Payment Methods for WooCommerce Attack Surface

Entry Points5
Unprotected5

AJAX Handlers 5

authwp_ajax_dscpw_conditional_payments_product_list_ajaxincludes\class-conditional-payments.php:136
authwp_ajax_dscpw_conditional_payments_variable_product_list_ajaxincludes\class-conditional-payments.php:137
authwp_ajax_dscpw_conditional_payments_conditions_values_ajaxincludes\class-conditional-payments.php:138
authwp_ajax_dscpw_conditional_payments_actions_values_ajaxincludes\class-conditional-payments.php:139
authwp_ajax_dscpw_change_status_from_listing_pageincludes\class-conditional-payments.php:140
WordPress Hooks 17
filterposts_whereadmin\class-conditional-payments-admin.php:676
filterposts_whereadmin\class-conditional-payments-admin.php:768
actionadmin_noticesconditional-payments.php:141
actionplugins_loadedconditional-payments.php:150
actionbefore_woocommerce_initconditional-payments.php:177
filterplugin_row_metaincludes\class-conditional-payments.php:84
actionadmin_initincludes\class-conditional-payments.php:132
actionadmin_enqueue_scriptsincludes\class-conditional-payments.php:133
actionwoocommerce_settings_checkoutincludes\class-conditional-payments.php:134
filterwoocommerce_get_sections_checkoutincludes\class-conditional-payments.php:135
filteradmin_footer_textincludes\class-conditional-payments.php:142
actionwp_enqueue_scriptsincludes\class-conditional-payments.php:155
actionwoocommerce_before_checkout_formincludes\class-conditional-payments.php:156
actionwoocommerce_checkout_update_order_reviewincludes\class-conditional-payments.php:157
actionwoocommerce_blocks_enqueue_checkout_block_scripts_afterincludes\class-conditional-payments.php:164
actionwoocommerce_initincludes\class-conditional-payments.php:165
filterwoocommerce_available_payment_gatewaysincludes\class-conditional-payments.php:167
Maintenance & Trust

Conditional Payment Methods for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedJul 18, 2025
PHP min version5.6
Downloads16K

Community Trust

Rating100/100
Number of ratings3
Active installs1K
Developer Profile

Conditional Payment Methods for WooCommerce Developer Profile

dotsquares

37 plugins · 95K total installs

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

How We Detect Conditional 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/conditional-payments/assets/css/backend-style.css/wp-content/plugins/conditional-payments/assets/js/backend-script.js
Script Paths
/wp-content/plugins/conditional-payments/assets/js/backend-script.js
Version Parameters
conditional-payments/assets/css/backend-style.css?ver=conditional-payments/assets/js/backend-script.js?ver=

HTML / DOM Fingerprints

CSS Classes
dscpw-conditional-payment-method
HTML Comments
<!-- Plugin Name: Conditional Payment Methods for WooCommerce --><!-- Plugin URI: https://www.thedotstore.com/conditional-payments-for-woocommerce/ --><!-- Description: Allows store owners to restrict payment methods based on the various conditions! --><!-- Version: 1.2.2 -->+2 more
Data Attributes
data-dscpw-rule-id
JS Globals
dscpw_woo_product_author
FAQ

Frequently Asked Questions about Conditional Payment Methods for WooCommerce