Pledged Plugins PCI Gateway for NMI and WooCommerce

PCI Compliant NMI payment gateway integration for WooCommerce to accept credit cards directly on WordPress e-commerce websites.

v1.2.11mohsin.idUpdated Added 3k+ installs100% rating
41
Score
160
Errors
42
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability81

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

202 findings

I18n

148

4 issue groups

Security

44

5 issue groups

Maintainability

10

5 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-nmi-gateway-pci-woocommerce' but got 'wc-nmi'.120
Category
I18n
Occurrences
120
Severity
error

Sample message

Mismatched text domain. Expected 'wp-nmi-gateway-pci-woocommerce' but got 'wc-nmi'.

ERRORI18nMissing Translators CommentA 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.25
Category
I18n
Occurrences
25
Severity
error

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.

WARNINGSecurityMissingProcessing form data without nonce verification.14
Category
Security
Occurrences
14
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.10
Category
Security
Occurrences
10
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['nmi-card-cvc']7
Category
Security
Occurrences
7
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['nmi-card-cvc']

WARNINGSecurityMissing Unslash$_POST['nmi-card-cvc'] not unslashed before sanitization. Use wp_unslash() or similar7
Category
Security
Occurrences
7
Severity
warning

Sample message

$_POST['nmi-card-cvc'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityRecommendedProcessing form data without nonce verification.6
Category
Security
Occurrences
6
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "Pledged Plugins PCI Gateway for NMI and WooCommerce" - contains the restricted term "plugin" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Pledged Plugins PCI Gateway for NMI and WooCommerce" - contains the restricted term "plugin" which cannot be used at all in your plugin name.

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGMaintainabilityMissing VersionResource 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.2
Category
Maintainability
Occurrences
2
Severity
warning

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.

Show 4 more
ERRORI18nUnordered Placeholders Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s - Order %s'.

ERRORMaintainabilitymissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "wc-nmi", expected "wp-nmi-gateway-pci-woocommerce".

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "wp_set_script_translations()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.4.0.

Score History

First score snapshot

v1.2.11

41

Latest

Findings
202
Errors
160
Warnings
42
Check
2.0.0

Related Plugins