Worldline Global Online Pay for WooCommerce

Worldline GoPay for WooCommerce

v2.5.22WorldlineUpdated Added 500 installs0% rating100% support resolved
31
Score
160
Errors
86
Warnings
+0
Change

Category Scores

Security0
Repo76
Performance100
Maintainability50

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

246 findings

Maintainability

132

11 issue groups

Security

97

10 issue groups

I18n

11

4 issue groups

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;84
Category
Maintainability
Occurrences
84
Severity
error

Sample message

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

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Can't retrieve captured amount. Webhook: {$webhook->id}"'.42
Category
Security
Occurrences
42
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Can't retrieve captured amount. Webhook: {$webhook->id}"'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$availableCents".15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDynamic hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$action".8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed global symbolThe "syde.return" prefix is not a valid namespace/function/class/variable/constant prefix in PHP.8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

The "syde.return" prefix is not a valid namespace/function/class/variable/constant prefix in PHP.

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

Sample message

Processing form data without nonce verification.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.6
Category
Security
Occurrences
6
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 sanitizedDetected usage of a non-sanitized input variable: $_FILES['icon_files']6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['icon_files']

Show 15 more
WARNINGSecurityRequest data is not unslashed6
Category
Security
Occurrences
6
Severity
warning

Sample message

$_POST['amount'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityslow db query meta query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

ERRORI18nMissing Translators Comment4
Category
I18n
Occurrences
4
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 Mismatch4
Category
I18n
Occurrences
4
Severity
error

Sample message

Mismatched text domain. Expected 'worldline-for-woocommerce' but got 'ddev-wordpress-plugin-example'.

WARNINGSecurityDatabase parameter is not escaped3
Category
Security
Occurrences
3
Severity
warning

Sample message

Unescaped parameter $table used in $wpdb->get_var()

WARNINGMaintainabilityDirect Query3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityInterpolated SQL is not prepared3
Category
Security
Occurrences
3
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$table} at "DROP TABLE IF EXISTS `{$table}`"

WARNINGSecurityInput is not validated3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilityparse url parse url3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERRORMaintainabilityunlink unlink2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

ERRORI18nNon Singular String Literal Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $config['GATEWAY_METHOD_TITLE']

WARNINGI18nDiscouraged text-domain loading1
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.

WARNINGMaintainabilitySchema Change1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

External Connections

Potential connections found in static code analysis.

23 domains

Outbound calls

76

External assets

0

Incoming endpoints

10

Notable Domains

tools.ietf.org16 · outbound
php.net9 · outbound
apache.org6 · outbound
getcomposer.org3 · outbound
worldline.com3 · outbound

Platform / Reference Domains

github.com9 · platform/reference
developer.wordpress.org4 · platform/reference
core.trac.wordpress.org2 · platform/reference
codex.wordpress.org1 · platform/reference
make.wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

/wp-json/inpsyde/exampleREST

register_rest_route

wp_ajax_nopriv_public

wp_ajax

wp_ajax_nopriv_wlop_hosted_tokenization_configpublic

wp_ajax

Admin AJAX endpoints7
wp_ajax_save_worldline_product_typeauthenticated

wp_ajax

wp_ajax_wlop_get_custom_iconsauthenticated

wp_ajax

wp_ajax_wlop_hosted_tokenization_configauthenticated

wp_ajax

wp_ajax_wlop_hosted_tokenization_logoauthenticated

wp_ajax

wp_ajax_wlop_upload_custom_iconauthenticated

wp_ajax

wp_ajax_worldline_cancel_authorizationauthenticated

wp_ajax

wp_ajax_worldline_capture_authorizationauthenticated

wp_ajax

Score History

First score snapshot

v2.5.22

31

Latest

Findings
246
Errors
160
Warnings
86
Check
2.0.0

Relationship Map

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

36 nodes

Related Plugins