Plugin for WooCommerce, based on the official OnPay PHP SDK.
Prioritized issue groups from the latest Plugin Check scan
I18n
214
6 issue groups
Maintainability
36
7 issue groups
Security
23
8 issue groups
Repo Compliance
2
2 issue groups
Sample message
Mismatched text domain. Expected 'onpay-io-for-woocommerce' but got 'Subscription no longer active in OnPay.'.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
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
Processing form data without nonce verification.
Sample message
$_GET[$query] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Missing $domain parameter in function call to __().
Sample message
Processing form data without nonce verification.
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "add_settings_tab".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$hide_save_button".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'.
Sample message
Detected usage of a non-sanitized input variable: $_SERVER['HTTP_HOST']
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['HTTP_HOST']. 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
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.
Sample message
error_log() found. Debug code should not normally be used in production.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$string'.
Sample message
Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_register_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.
Sample message
Too many parameters passed to function "__()". Expected: 2 parameters, received: 3
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "wc-onpay", expected "onpay-io-for-woocommerce".
Not analyzed yet.
First score snapshot
v1.0.52
42
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 42 | 275 | 238 | 37 | v1.0.52 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.