Provide Afterpay as a payment option for WooCommerce orders.
Prioritized issue groups from the latest Plugin Check scan
I18n
146
4 issue groups
Security
80
9 issue groups
Maintainability
16
9 issue groups
Repo Compliance
3
3 issue groups
Sample message
Mismatched text domain. Expected 'afterpay-gateway-for-woocommerce' but got 'woo_afterpay'.
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
The $text parameter must not contain interpolated variables or expressions. Found: {$_POST['token']}
Sample message
Detected usage of a non-sanitized input variable: $_GET['orderToken']
Sample message
$_GET['orderToken'] not unslashed before sanitization. Use wp_unslash() or similar
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
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div {$wrapper_attributes} style={$style}>"'.
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['nonce']. Check that the array index exists before using it.
Sample message
Detected usage of a non-sanitized, non-validated input variable _POST: "Afterpay order token: {$_POST['token']}"
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 '"Payment DECLINED for WooCommerce Order #{$order_number} (Afterpay Order #{$payment->id})."'.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_Afterpay".
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_GATEWAY_AFTERPAY_PATH".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "woocommerce_calculated_shipping".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$environments".
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
var_dump() found. Debug code should not normally be used in production.
Sample message
Processing form data without nonce verification.
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.
Sample message
Missing $domain parameter in function call to _e().
Sample message
Your plugin has an invalid license declared. Please update your readme with a valid SPDX license identifier.
Sample message
The "/vendor" directory using composer exists, but "composer.json" file is missing.
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.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Not analyzed yet.
First score snapshot
v3.8.8
38
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 38 | 245 | 183 | 62 | v3.8.8 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.