Eway Payment Gateway

Take credit card payments via Eway in some popular WordPress plugins

v5.3.0webawareUpdated Added 800 installs86% rating
30
Score
509
Errors
92
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability27

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

601 findings

I18n

338

4 issue groups

Maintainability

161

12 issue groups

Security

98

9 issue groups

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

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo $card_code ..." but found "<?= $card_code ..."112
Category
Maintainability
Occurrences
112
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $card_code ..." but found "<?= $card_code ..."

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

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;em_eway_amount&quot;.15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;em_eway_amount&quot;.

WARNINGI18nLow Level Translation FunctionUse of the &quot;translate()&quot; function is reserved for low-level API usage.15
Category
I18n
Occurrences
15
Severity
warning

Sample message

Use of the &quot;translate()&quot; function is reserved for low-level API usage.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'eway-payment-gateway' but got 'em-pro'.15
Category
I18n
Occurrences
15
Severity
error

Sample message

Mismatched text domain. Expected 'eway-payment-gateway' but got 'em-pro'.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[&#039;gateway&#039;]14
Category
Security
Occurrences
14
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET[&#039;gateway&#039;] not unslashed before sanitization. Use wp_unslash() or similar14
Category
Security
Occurrences
14
Severity
warning

Sample message

$_GET[&#039;gateway&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$ext&quot;.8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$ext&quot;.

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

Sample message

Processing form data without nonce verification.

Show 15 more
ERRORSecurityException output is not escaped6
Category
Security
Occurrences
6
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verification6
Category
Security
Occurrences
6
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityfile system operations readfile6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: readfile().

ERRORMaintainabilitystrip tags strip tags6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

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().

ERRORSecuritySQL query is not prepared3
Category
Security
Occurrences
3
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $sql

ERRORMaintainabilitydate date2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGSecurityInput is not validated2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_SERVER[&#039;HTTP_HOST&#039;]. Check that the array index exists before using it.

ERRORMaintainabilityfile system operations mkdir2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().

ERRORMaintainabilityfile system operations touch2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: touch().

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.

WARNINGMaintainabilityNon-prefixed class1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;EE_PMT_event_espresso_eway&quot;.

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
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.

ERRORMaintainabilityfile system operations fclose1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

External Connections

Potential connections found in static code analysis.

14 domains

Outbound calls

25

External assets

0

Incoming endpoints

0

Notable Domains

eway.com.au4 · outbound
eway.io3 · outbound
go.eway.io3 · outbound

Platform / Reference Domains

github.com2 · platform/reference
wordpress.org2 · platform/reference
translate.wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v5.3.0

30

Latest

Findings
601
Errors
509
Warnings
92
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Eway Payments for Woo

3k+ active installs

36
Gravity Forms Eway

500 active installs

33