JCC’s payment gateway offers real-time and batch payment processing. It uses all available security measures to prevent fraudulent transactions and en …
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
1,986
7 issue groups
Security
1,063
8 issue groups
Maintainability
318
10 issue groups
ERRORI18nText Domain MismatchMismatched text domain. Expected 'jcc-payment-gateway-for-wc' but got 'wc-jccgateway-text-domain'.1,120
- Category
- I18n
- Occurrences
- 1,120
- Severity
- error
Sample message
Mismatched text domain. Expected 'jcc-payment-gateway-for-wc' but got 'wc-jccgateway-text-domain'.
ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: 'wc-' . $id . '-text-domain'437
- Category
- I18n
- Occurrences
- 437
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: 'wc-' . $id . '-text-domain'
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.241
- Category
- Security
- Occurrences
- 241
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['order_id']. Check that the array index exists before using it.221
- Category
- Security
- Occurrences
- 221
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['order_id']. Check that the array index exists before using it.
WARNINGSecurityRequest data is not unslashed$_GET['action'] not unslashed before sanitization. Use wp_unslash() or similar210
- Category
- Security
- Occurrences
- 210
- Severity
- warning
Sample message
$_GET['action'] not unslashed before sanitization. Use wp_unslash() or similar
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.185
- Category
- I18n
- Occurrences
- 185
- 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.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$e'.168
- Category
- Security
- Occurrences
- 168
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$e'.
ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $error_message122
- Category
- I18n
- Occurrences
- 122
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $error_message
WARNINGSecuritywp redirect wp redirectwp_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.86
- Category
- Security
- Occurrences
- 86
- 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.
ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Order ID (%s) and key (%s) failed to be refunded. Please contact admininstrator for more help.'.74
- Category
- I18n
- Occurrences
- 74
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Order ID (%s) and key (%s) failed to be refunded. Please contact admininstrator for more help.'.
Show 15 moreShow less
WARNINGMaintainabilityNon-prefixed class67
- Category
- Maintainability
- Occurrences
- 67
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_JCCGateway_".
WARNINGMaintainabilityDiscouraged PHP function51
- Category
- Maintainability
- Occurrences
- 51
- Severity
- warning
Sample message
The use of function ini_set() is discouraged
WARNINGSecurityInput is not sanitized51
- Category
- Security
- Occurrences
- 51
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['action']
WARNINGMaintainabilityerror log print r50
- Category
- Maintainability
- Occurrences
- 50
- Severity
- warning
Sample message
print_r() found. Debug code should not normally be used in production.
WARNINGSecurityNonce verification recommended47
- Category
- Security
- Occurrences
- 47
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORI18nMissing Arg Domain43
- Category
- I18n
- Occurrences
- 43
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORMaintainabilityMissing direct file access protection41
- Category
- Maintainability
- Occurrences
- 41
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORSecurityException output is not escaped39
- Category
- Security
- Occurrences
- 39
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'.
WARNINGMaintainabilityNon-prefixed hook name35
- Category
- Maintainability
- Occurrences
- 35
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".
WARNINGMaintainabilityNon-prefixed function29
- Category
- Maintainability
- Occurrences
- 29
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "load_jccgateway_textdomain".
WARNINGMaintainabilityNon-prefixed global variable18
- Category
- Maintainability
- Occurrences
- 18
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$WooCommerce_JCC_Payment_Gateway_Plugin".
ERRORMaintainabilitydate date12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() 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: "YOURPLUGIN_CURRENT_VERSION".
WARNINGI18nDiscouraged text-domain loading5
- Category
- I18n
- Occurrences
- 5
- 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.
WARNINGMaintainabilityerror log error log5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
error_log() found. Debug code should not normally be used in production.
External Connections
Potential connections found in static code analysis.
Outbound calls
139
External assets
1
Incoming endpoints
6
Notable Domains
Platform / Reference Domains
External Asset Domains
Incoming Endpoints
wp_ajax
wp_ajax
wp_ajax
Admin AJAX endpoints3
wp_ajax
wp_ajax
wp_ajax
Score History
First score snapshot
v5.4.1
22
Latest
- Findings
- 3,409
- Errors
- 2,273
- Warnings
- 1,136
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 22 | 3,409 | 2,273 | 1,136 | v5.4.1 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.