DOKU Payment

DOKU plugin offers a secure payment with DOKU Checkout, letting customers choose from various payment methods and complete transactions seamlessly.

v1.3.27dokupluginUpdated Added 400 installs0% rating
69
Score
53
Errors
46
Warnings
+0
Change

Category Scores

Security57
Repo91
Performance100
Maintainability69

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

99 findings

Maintainability

86

8 issue groups

Security

11

5 issue groups

Repo Compliance

2

2 issue groups

ERRORMaintainabilitywp function not compatible with requires wpFunction "_x()" requires WordPress 2.8.0, but your plugin minimum supported version is WordPress 2.2.0.52
Category
Maintainability
Occurrences
52
Severity
error

Sample message

Function "_x()" requires WordPress 2.8.0, but your plugin minimum supported version is WordPress 2.2.0.

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'woocommerce_settings_api_sanitized_fields_' . $this->id".8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'woocommerce_settings_api_sanitized_fields_' . $this->id".

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGSecurityRequest data is not unslashed$_SERVER['HTTP_CLIENT_IP'] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_SERVER['HTTP_CLIENT_IP'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().3
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().

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

Sample message

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

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $table used in $wpdb->get_row()\n$table assigned unsafely at line 85.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Unescaped parameter $table used in $wpdb->get_row()\n$table assigned unsafely at line 85.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $table at "SELECT * FROM $table WHERE invoice_number = %s AND amount = %d ORDER BY trx_id DESC LIMIT 1"2
Category
Security
Occurrences
2
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $table at "SELECT * FROM $table WHERE invoice_number = %s AND amount = %d ORDER BY trx_id DESC LIMIT 1"

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

Sample message

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

Show 5 more
WARNINGSecurityInput is not validated2
Category
Security
Occurrences
2
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER['HTTP_X_FORWARDED_FOR']

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.

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

Sample message

Tested up to: 6.7 < 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.

WARNINGRepo Compliancereadme parser warnings requires php header ignored1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Requires PHP" field was ignored. This field should only contain a PHP version such as "5.2.4" or "7.0".

External Connections

Potential connections found in static code analysis.

5 domains

Outbound calls

9

External assets

0

Incoming endpoints

2

Notable Domains

doku.com5 · outbound
api.doku.com1 · outbound

Platform / Reference Domains

github.com1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

/wp-json/doku/notificationREST

register_rest_route

/wp-json/doku/qrisnotificationREST

register_rest_route

Score History

First score snapshot

v1.3.27

69

Latest

Findings
99
Errors
53
Warnings
46
Check
2.0.0

Relationship Map

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

32 nodes

Related Plugins