Midtrans-WooCommerce is plugin for Midtrans, Indonesian Payment Gateway. Brings safety and highly dedicated to customer experience (UX) to WooCommerce
Prioritized issue groups from the latest Plugin Check scan
Maintainability
108
14 issue groups
Security
74
8 issue groups
I18n
49
3 issue groups
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$client_key".
Sample message
The $text parameter must be a single text string literal. Found: $this->getSettingsDescription()
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_Midtrans".
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Processing form data without nonce verification.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$info['http_code']'.
Sample message
$_COOKIE['wc_midtrans_last_order_finish_url'] not unslashed before sanitization. Use wp_unslash() or similar
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.
Sample message
The $text text string should have translatable content. Found: ''
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$errorJson'.
Sample message
Processing form data without nonce verification.
Sample message
Function "wp_get_inline_script_tag()" requires WordPress 5.7.0, but your plugin minimum supported version is WordPress 3.9.1.
Sample message
print_r() found. Debug code should not normally be used in production.
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.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
The upgrade notice for "2.18.3 - 2020-05-13" exceeds the limit of 300 characters.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "before_woocommerce_hpos".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "create-refund-request".
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Midtrans - WooCommerce Payment Gateway" - contains the restricted term "woocommerce" which cannot be used within in your plugin name, unless your plugin name contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your name.
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['snap_token']. Check that the array index exists before using it.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Not analyzed yet.
First score snapshot
v2.32.3
30
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 30 | 244 | 112 | 132 | v2.32.3 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.