The plugin enables the customer to have an option of paying for goods using M-PESA mobile money service from a Wordpress site that has WooCommerce plu …
Prioritized issue groups from the latest Plugin Check scan
I18n
32
3 issue groups
Security
32
8 issue groups
Maintainability
15
10 issue groups
Repo Compliance
4
4 issue groups
Sample message
Mismatched text domain. Expected 'woo-m-pesa-payment-gateway' but got 'woocommerce'.
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['transactionType']. Check that the array index exists before using it.
Sample message
Detected usage of a non-sanitized input variable: $_SERVER['HTTP_HOST']
Sample message
Function "plugin_dir_url()" requires WordPress 2.8.0, but your plugin minimum supported version is WordPress 2.2.0.
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 '$_SESSION['response_status']'.
Sample message
Missing $domain parameter in function call to __().
Sample message
Unescaped parameter $table_name used in $wpdb->get_var()\n$table_name assigned unsafely at line 678.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $table_name at "SELECT COUNT(*) FROM $table_name WHERE merchant_request_id = '"
Sample message
Use placeholders and $wpdb->prepare(); found $_SESSION
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_Mpesa".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$trx_db_version".
Sample message
Processing form data without nonce verification.
Sample message
$_SERVER['HTTP_HOST'] not unslashed before sanitization. Use wp_unslash() or similar
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
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
Plugin name "M-Pesa(Kenya) Checkout for Woocommerce" is different from the name declared in plugin header "M-Pesa(Kenya) Checkout for WooCommerce".
Sample message
Tested up to: 6.9 < 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.
Sample message
The "Donate link" header in the readme file must be a valid URL.
Sample message
The "Short Description" section is missing. An excerpt was generated from your main plugin description.
Sample message
Mismatched Stable Tag: 1.0 != 1.0.0. Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.
Potential connections found in static code analysis.
Outbound calls
5
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
First score snapshot
v1.0.0
41
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 41 | 84 | 46 | 38 | v1.0.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.