Payment Gateway for PayPal on WooCommerce

PayPal, Credit/Debit Cards, Google Pay, Apple Pay, Pay Later, Venmo, SEPA, iDEAL, Mercado Pago, Bancontact & more - by an official PayPal Partner

v9.0.65Easy PaymentUpdated Added 10k+ installs88% rating86% support resolved
24
Score
153
Errors
561
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

714 findings

Security

409

8 issue groups

Maintainability

267

16 issue groups

I18n

8

1 issue group

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wpg_paypal_payment_api_' . $api".84
Category
Maintainability
Occurrences
84
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wpg_paypal_payment_api_' . $api".

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

Sample message

Processing form data without nonce verification.

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$argumentName cannot be null"'.69
Category
Security
Occurrences
69
Severity
error

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_COOKIE[self::PPCP_LANG_COOKIE_KEY] not unslashed before sanitization. Use wp_unslash() or similar61
Category
Security
Occurrences
61
Severity
warning

Sample message

$_COOKIE[self::PPCP_LANG_COOKIE_KEY] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_woo_paypal_gateway".60
Category
Maintainability
Occurrences
60
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityerror log trigger errortrigger_error() found. Debug code should not normally be used in production.18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['paypal_order_id']. Check that the array index exists before using it.17
Category
Security
Occurrences
17
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.

Show 15 more
WARNINGSecuritywp redirect wp redirect16
Category
Security
Occurrences
16
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.

ERRORMaintainabilitydate date14
Category
Maintainability
Occurrences
14
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORMaintainabilitycurl curl setopt13
Category
Maintainability
Occurrences
13
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed constant10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

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

ERRORI18nMissing Translators Comment8
Category
I18n
Occurrences
8
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 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: "$credit_enabled_label".

ERRORMaintainabilityMissing direct file access protection6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

Function "has_block()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.7.0.

ERRORMaintainabilitystrip tags strip tags5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

WARNINGMaintainabilityDirect Query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORSecurityOutput is not escaped4
Category
Security
Occurrences
4
Severity
error

Sample message

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

ERRORMaintainabilitycurl curl errno4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

ERRORMaintainabilitycurl curl getinfo4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v9.0.65

24

Latest

Findings
714
Errors
153
Warnings
561
Check
2.0.0

Relationship Map

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

28 nodes

Related Plugins