Express Checkout via PayPal for WooCommerce

Integrate PayPal Express Checkout and other payment methods seamlessly into your WooCommerce store with PayPal for WooCommerce.

v6.0.0wpgatewaysUpdated Added 800 installs76% rating
31
Score
158
Errors
200
Warnings
+0
Change

Category Scores

Security0
Repo55
Performance100
Maintainability62

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

358 findings

Security

183

8 issue groups

I18n

114

7 issue groups

Maintainability

49

9 issue groups

Supply Chain

8

1 issue group

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.66
Category
Security
Occurrences
66
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nNo Empty StringsThe $text text string should have translatable content. Found: ''39
Category
I18n
Occurrences
39
Severity
error

Sample message

The $text text string should have translatable content. Found: ''

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.36
Category
I18n
Occurrences
36
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.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[$field]27
Category
Security
Occurrences
27
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "ae_ppec_error_email_message".25
Category
Maintainability
Occurrences
25
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "ae_ppec_error_email_message".

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.23
Category
Security
Occurrences
23
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$cvc_field'.21
Category
Security
Occurrences
21
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET[$field] not unslashed before sanitization. Use wp_unslash() or similar18
Category
Security
Occurrences
18
Severity
warning

Sample message

$_GET[$field] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s Transaction ID: %s'.16
Category
I18n
Occurrences
16
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s Transaction ID: %s'.

WARNINGSecuritywp redirect wp redirectwp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.12
Category
Security
Occurrences
12
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

Show 15 more
ERRORSecurityUnsafe printing function8
Category
Security
Occurrences
8
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGSecurityInput is not validated8
Category
Security
Occurrences
8
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['paypal_order_id']. Check that the array index exists before using it.

ERRORI18nNon Singular String Literal Text8
Category
I18n
Occurrences
8
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $msg_errors

ERRORI18nText Domain Mismatch8
Category
I18n
Occurrences
8
Severity
error

Sample message

Mismatched text domain. Expected 'express-checkout' but got ''.

ERRORSupply ChainHidden files included8
Category
Supply Chain
Occurrences
8
Severity
error

Sample message

Hidden files are not permitted.

WARNINGMaintainabilityNon-prefixed function7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed global variable6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain5
Category
I18n
Occurrences
5
Severity
error

Sample message

Missing $domain parameter in function call to __().

WARNINGMaintainabilityerror log print r3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protection3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGI18nDiscouraged text-domain loading2
Category
I18n
Occurrences
2
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.

ERRORMaintainabilitycurl curl setopt2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

WARNINGMaintainabilityDirect Query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityrand mt rand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

External Connections

Potential connections found in static code analysis.

20 domains

Outbound calls

64

External assets

0

Incoming endpoints

1

Notable Domains

paypal.com11 · outbound
api.paypal.com9 · outbound
api-m.paypal.com3 · outbound

Platform / Reference Domains

wordpress.org7 · platform/reference
github.com1 · platform/reference
gnu.org1 · platform/reference
profiles.wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints1
wp_ajax_pec_dismiss_pec_upgrade_noticeauthenticated

wp_ajax

Score History

First score snapshot

v6.0.0

31

Latest

Findings
358
Errors
158
Warnings
200
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

37 nodes

Related Plugins