Accept Credit Cards, Google Pay, ApplePay, Afterpay, Affirm, ACH, Klarna, iDEAL and more all in one plugin for free!
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
708
13 issue groups
Security
376
8 issue groups
I18n
182
4 issue groups
WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wc_stripe_admin_section_' . $section".163
- Category
- Maintainability
- Occurrences
- 163
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wc_stripe_admin_section_' . $section".
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$account_id".144
- Category
- Maintainability
- Occurrences
- 144
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$account_id".
ERRORMaintainabilitywp function not compatible with requires wpFunction "doing_action()" requires WordPress 3.9.0, but your plugin minimum supported version is WordPress 3.0.1.120
- Category
- Maintainability
- Occurrences
- 120
- Severity
- error
Sample message
Function "doing_action()" requires WordPress 3.9.0, but your plugin minimum supported version is WordPress 3.0.1.
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<script id=\"$name\">\n'.117
- Category
- Security
- Occurrences
- 117
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<script id=\"$name\">\n'.
ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.113
- Category
- I18n
- Occurrences
- 113
- Severity
- error
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Payment_Gateway_Stripe".94
- Category
- Maintainability
- Occurrences
- 94
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Payment_Gateway_Stripe".
ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;77
- Category
- Maintainability
- Occurrences
- 77
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "stripe_wc".73
- Category
- Maintainability
- Occurrences
- 73
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "stripe_wc".
WARNINGSecurityMissing Unslash$_GET['_stripe_connect_nonce'] not unslashed before sanitization. Use wp_unslash() or similar59
- Category
- Security
- Occurrences
- 59
- Severity
- warning
Sample message
$_GET['_stripe_connect_nonce'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['_stripe_connect_nonce']55
- Category
- Security
- Occurrences
- 55
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['_stripe_connect_nonce']
Show 15 moreShow less
WARNINGSecurityRecommended51
- Category
- Security
- Occurrences
- 51
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityMissing50
- Category
- Security
- Occurrences
- 50
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORI18nText Domain Mismatch36
- Category
- I18n
- Occurrences
- 36
- Severity
- error
Sample message
Mismatched text domain. Expected 'woo-stripe-payment' but got 'cartflows-pro'.
ERRORSecurityException Not Escaped26
- Category
- Security
- Occurrences
- 26
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$e'.
ERRORI18nMissing Arg Domain23
- Category
- I18n
- Occurrences
- 23
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGSecurityInput Not Validated16
- Category
- Security
- Occurrences
- 16
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['context']. Check that the array index exists before using it.
WARNINGMaintainabilityNon Prefixed Trait Found11
- Category
- Maintainability
- Occurrences
- 11
- Severity
- warning
Sample message
Traits declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Payment_Token_Payment_Method_Trait".
ERRORI18nUnordered Placeholders Text10
- Category
- I18n
- Occurrences
- 10
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Domain %s enabled successfully for %s mode.'.
WARNINGMaintainabilityDirect Query8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGMaintainabilityNon Prefixed Constant Found3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_STRIPE_ASSETS".
WARNINGMaintainabilitytrademarked term3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Payment Plugins for Stripe WooCommerce" - contains the restricted term "plugin" which cannot be used at all in your plugin name.
WARNINGSecurityInterpolated Not Prepared2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable {$where_clause} at "SELECT * FROM {$wpdb->prefix}woocommerce_payment_tokens {$where_clause}"
WARNINGMaintainabilityslow db query meta query2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
WARNINGMaintainabilityVariable Constant Name Found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Stripe_Constants::REDIRECT_HANDLER".
Score History
First score snapshot
v3.3.108
23
Latest
- Findings
- 1,281
- Errors
- 529
- Warnings
- 752
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 23 | 1,281 | 529 | 752 | v3.3.108 | 2.0.0 |