Amazon Pay for WooCommerce

Install the Amazon Pay plugin for your WooCommerce store and take advantage of a seamless checkout experience

v2.6.1WooCommerceUpdated Added 20k+ installs48% rating100% support resolved
37
Score
29
Errors
117
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability69

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

146 findings

Maintainability

76

11 issue groups

Security

64

4 issue groups

I18n

4

3 issue groups

Repo Compliance

2

2 issue groups

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Amazon_Payments_Advanced".39
Category
Maintainability
Occurrences
39
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Amazon_Payments_Advanced".

WARNINGSecurityRequest data is not unslashed$_COOKIE['amazon_Login_accessToken'] not unslashed before sanitization. Use wp_unslash() or similar24
Category
Security
Occurrences
24
Severity
warning

Sample message

$_COOKIE['amazon_Login_accessToken'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$customer_id'.21
Category
Security
Occurrences
21
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_plugin".14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_plugin".

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['AuthenticationStatus']13
Category
Security
Occurrences
13
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['AuthenticationStatus']

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "apa_alexa_notification_payload".8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "apa_alexa_notification_payload".

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['amazon_action']. Check that the array index exists before using it.6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST['amazon_action']. Check that the array index exists before using it.

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "Amazon Pay for WooCommerce" - contains the restricted term "amazon" and cannot be used to begin your plugin name. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "amazon" elsewhere in your plugin name, such as "... for amazon".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Amazon Pay for WooCommerce" - contains the restricted term "amazon" and cannot be used to begin your plugin name. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "amazon" elsewhere in your plugin name, such as "... for amazon".

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_AMAZON_PAY_VERSION".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_AMAZON_PAY_VERSION".

Show 10 more
WARNINGMaintainabilityNon-prefixed function2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "wc_apa".

ERRORI18nMissing Translators Comment2
Category
I18n
Occurrences
2
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.

ERRORMaintainabilityblock api version too low2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.

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;

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

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.

WARNINGMaintainabilityNo Caching1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

ERRORI18nText Domain Mismatch1
Category
I18n
Occurrences
1
Severity
error

Sample message

Mismatched text domain. Expected 'woocommerce-gateway-amazon-payments-advanced' but got 'woocommerce'.

WARNINGMaintainabilitymissing composer json file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The "/vendor" directory using composer exists, but "composer.json" file is missing.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

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.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.6.1

37

Latest

Findings
146
Errors
29
Warnings
117
Check
2.0.0

Related Plugins

Visa Acceptance Solutions

10k+ active installs

100
WCBoost – Wishlist

50k+ active installs

97
AutoCEP

1k+ active installs

96
Widgets for Amazon Reviews

2k+ active installs

96