This plugin allows your customers to pay via Barion Smart Gateway in your WooCommerce online store.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
142
12 issue groups
Security
55
10 issue groups
I18n
14
3 issue groups
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$BC".
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Incorrect API version for 3DS Complete endpoint! Current: $this->APIVersion. Expected: 2."'.
Sample message
Processing form data without nonce verification.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
Detected usage of a non-sanitized input variable: $_GET['order-id']
Sample message
$_GET['order-id'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_Barion".
Sample message
Mismatched text domain. Expected 'pay-via-barion-for-woocommerce' but got 'woocommerce'.
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['order-id']. Check that the array index exists before using it.
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
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
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found interpolation in unescaped heredoc.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Barion payment gateway sends customers to Barion to enter their payment information. Barion callback requires cURL support to update order statuses after payment. Check the %ssystem status%s page for more details.'.
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
Sample message
Detected usage of meta_key, possible slow query.
Sample message
Detected usage of meta_value, possible slow query.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "woocommerce_gateway_icon".
Sample message
Processing form data without nonce verification.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Potential connections found in static code analysis.
Outbound calls
90
External assets
1
Incoming endpoints
1
No public endpoints detected.
wp_ajax
4 score snapshots
v3.10.2
33
Latest
v3.10.1
32
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 33 | 217 | 66 | 151 | v3.10.2 | 2.0.0 |
| 32 | 219 | 67 | 152 | v3.10.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.