WooCommerce Stripe Payment Gateway

Accept debit and credit cards in 135+ currencies, many local methods like Alipay, ACH, and SEPA, and express checkout with Apple Pay and Google Pay.

v10.8.2WooCommerceUpdated Added 700k+ installs62% rating83% support resolved
30
Score
173
Errors
591
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability31

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

764 findings

Maintainability

424

18 issue groups

Security

337

6 issue groups

I18n

1

1 issue group

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wc_stripe_payment_fields_' . $this->id".176
Category
Maintainability
Occurrences
176
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wc_stripe_payment_fields_' . $this->id".

ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Failed to get intent of type $intent_type. Type is not allowed"'.167
Category
Security
Occurrences
167
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Failed to get intent of type $intent_type. Type is not allowed"'.

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "Allowed_Payment_Request_Button_Types_Update".154
Category
Maintainability
Occurrences
154
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Allowed_Payment_Request_Button_Types_Update".

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET[$attribute_key]60
Category
Security
Occurrences
60
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[$attribute_key]

WARNINGSecurityMissingProcessing form data without nonce verification.56
Category
Security
Occurrences
56
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRecommendedProcessing form data without nonce verification.51
Category
Security
Occurrences
51
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.28
Category
Maintainability
Occurrences
28
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$billing_email".16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$billing_email".

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DONOTCACHEPAGE".10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DONOTCACHEPAGE".

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Use of a direct database call is discouraged.

Show 15 more
WARNINGMaintainabilityNo Caching7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityslow db query meta query6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityNon Prefixed Trait Found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Traits declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Stripe_Fingerprint_Trait".

WARNINGMaintainabilityMissing Version4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Resource version not set in call to wp_register_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGMaintainabilityNon Prefixed Function Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "add_woocommerce_inbox_variant".

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WooCommerce Stripe Gateway" - contains the restricted term "woocommerce" which cannot be used within in your plugin name, unless your plugin name contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your name.

ERRORSecurityOutput Not Escaped2
Category
Security
Occurrences
2
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wc_help_tip'.

WARNINGI18nload plugin textdomain Found1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGSecurityUnescaped DBParameter1
Category
Security
Occurrences
1
Severity
warning

Sample message

Unescaped parameter $raw_query used in $wpdb->get_results()\n$raw_query assigned unsafely at line 381.

WARNINGMaintainabilityNon Prefixed Interface Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Interfaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Stripe_Payment_Method_Comparison_Interface".

WARNINGMaintainabilityerror log debug backtrace1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

debug_backtrace() found. Debug code should not normally be used in production.

ERRORMaintainabilityrand rand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORMaintainabilitystrip tags strip tags1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "WooCommerce Stripe Payment Gateway" is different from the name declared in plugin header "WooCommerce Stripe Gateway".

WARNINGMaintainabilitymissing composer json file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The "/vendor" directory using composer exists, but "composer.json" file is missing.

Score History

First score snapshot

v10.8.2

30

Latest

Findings
764
Errors
173
Warnings
591
Check
2.0.0

Related Plugins

Visa Acceptance Solutions

10k+ active installs

100
99
Cancel Abandoned Order

1k+ active installs

98
PayHere Payment Gateway

2k+ active installs

95