Trust Payments Gateway for WooCommerce

This plugin offers a simple and easy to implement method for merchants to add e-payment capabilities to their WooCommerce online commerce setup.

v2.1.2Trust PaymentsUpdated Added 400 installs0% rating0% support resolved
80
Score
15
Errors
17
Warnings
+0
Change

Category Scores

Security70
Repo94
Performance100
Maintainability88

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

32 findings

Maintainability

18

6 issue groups

Security

7

1 issue group

I18n

6

1 issue group

Repo Compliance

1

1 issue group

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

Sample message

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

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

Sample message

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

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.6
Category
I18n
Occurrences
6
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.

WARNINGMaintainabilityslow db query meta keyDetected usage of meta_key, possible slow query.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query meta valueDetected usage of meta_value, possible slow query.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

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

Sample message

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

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

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.

ERRORRepo Complianceoutdated tested upto headerTested 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.1
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.

ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_doing_cron()" requires WordPress 4.8.0, but your plugin minimum supported version is WordPress 4.7.0.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "wp_doing_cron()" requires WordPress 4.8.0, but your plugin minimum supported version is WordPress 4.7.0.

External Connections

Potential connections found in static code analysis.

26 domains

Outbound calls

95

External assets

0

Incoming endpoints

24

Notable Domains

magenest.com14 · outbound
test.com11 · outbound
securetrading.com6 · outbound

Platform / Reference Domains

github.com6 · platform/reference
gnu.org1 · platform/reference
opensource.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_mgn_migrate_refund_purchasepublic

wp_ajax

wp_ajax_nopriv_st_api_update_address_mystpublic

wp_ajax

wp_ajax_nopriv_st_moto_api_update_jwt_mystpublic

wp_ajax

wp_ajax_nopriv_tp_apple_order_jwtpublic

wp_ajax

wp_ajax_nopriv_tp_apple_query_transactionpublic

wp_ajax

wp_ajax_nopriv_tp_loader_card_formpublic

wp_ajax

Admin AJAX endpoints12
wp_ajax_mgn_migrate_refund_purchaseauthenticated

wp_ajax

wp_ajax_st_api_update_address_mystauthenticated

wp_ajax

wp_ajax_st_moto_api_update_jwt_mystauthenticated

wp_ajax

wp_ajax_tp_apple_order_jwtauthenticated

wp_ajax

wp_ajax_tp_apple_query_transactionauthenticated

wp_ajax

wp_ajax_tp_loader_card_formauthenticated

wp_ajax

wp_ajax_tp_log_note_orderauthenticated

wp_ajax

wp_ajax_tp_order_pay_update_jwtauthenticated

wp_ajax

wp_ajax_tp_pay_for_orderauthenticated

wp_ajax

wp_ajax_tp_process_orderauthenticated

wp_ajax

wp_ajax_tp_wallet_estimate_shippingauthenticated

wp_ajax

wp_ajax_webservices_save_card_tokenauthenticated

wp_ajax

Score History

First score snapshot

v2.1.2

80

Latest

Findings
32
Errors
15
Warnings
17
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

37 nodes

Related Plugins