Payment Gateway of PayPal for WooCommerce

Enable faster checkout with PayPal for WooCommerce. Add PayPal Express/PayPal Standard gateways that accept PayPal, Pay Later, debit & credit cards.

v1.9.3ThemeHighUpdated Added 7k+ installs84% rating0% support resolved
40
Score
44
Errors
173
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability79

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

217 findings

Security

151

7 issue groups

I18n

45

5 issue groups

Maintainability

20

8 issue groups

Repo Compliance

1

1 issue group

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

Sample message

Processing form data without nonce verification.

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing Unslash$_GET['section'] not unslashed before sanitization. Use wp_unslash() or similar20
Category
Security
Occurrences
20
Severity
warning

Sample message

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

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $response['L_ERRORCODE0'] . ' error - ' . $response['L_LONGMESSAGE0'] . '. Refer to the <a style="text-decoration: underline;" href="https://www.themehigh.com/docs/trouble-shooting-guide/">article</a> to troubleshoot the error.'16
Category
I18n
Occurrences
16
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $response['L_ERRORCODE0'] . ' error - ' . $response['L_LONGMESSAGE0'] . '. Refer to the <a style="text-decoration: underline;" href="https://www.themehigh.com/docs/trouble-shooting-guide/">article</a> to troubleshoot the error.'

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'express-checkout-paypal-payment-gateway-for-woocommerce' but got "".10
Category
I18n
Occurrences
10
Severity
error

Sample message

Mismatched text domain. Expected 'express-checkout-paypal-payment-gateway-for-woocommerce' but got "".

WARNINGI18nNo Html Wrapped StringsTranslatable string should not be wrapped in HTML. Found: &#039;&lt;span class=&quot;express_toggle_display&quot;&gt;Express button exists seperately from the payment gateways section, and allows customers to proceed directly to PayPal for payment&lt;/span&gt;&#039;8
Category
I18n
Occurrences
8
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: &#039;&lt;span class=&quot;express_toggle_display&quot;&gt;Express button exists seperately from the payment gateways section, and allows customers to proceed directly to PayPal for payment&lt;/span&gt;&#039;

WARNINGMaintainabilityDiscouragedThe use of function ini_set() is discouraged6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

The use of function ini_set() is discouraged

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_REQUEST[&#039;woocommerce_eh_paypal_express_live_client_id&#039;]5
Category
Security
Occurrences
5
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_REQUEST[&#039;woocommerce_eh_paypal_express_live_client_id&#039;]

WARNINGMaintainabilityNot In FooterIn footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

Show 11 more
WARNINGMaintainabilityerror log print r4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORSecurityOutput 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 '__'.

WARNINGSecuritywp redirect wp redirect3
Category
Security
Occurrences
3
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; 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.

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.

WARNINGMaintainabilityslow db query meta query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

ERRORMaintainabilitydate date1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORSecurityException Not Escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
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.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Payment Gateway of PayPal for WooCommerce" is different from the name declared in plugin header "Payment Gateway of PayPal for WooCommerce ( Free )".

ERRORMaintainabilitymissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.8 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

Score History

First score snapshot

v1.9.3

40

Latest

Findings
217
Errors
44
Warnings
173
Check
2.0.0

Related Plugins