WP Hotel Booking Stripe Payment

WP Hotel Booking Stripe Payment Plugin - Support Stripe payment method for WP Hotel Booking plugin.

v1.8.0ThimPressUpdated Added 400 installs0% rating0% support resolved
43
Score
34
Errors
29
Warnings
+0
Change

Category Scores

Security5
Repo89
Performance100
Maintainability82

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

63 findings

Security

24

7 issue groups

I18n

19

4 issue groups

Maintainability

18

8 issue groups

Repo Compliance

2

2 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-hotel-booking-stripe-payment' but got 'wp-hotel-booking-stripe'.16
Category
I18n
Occurrences
16
Severity
error

Sample message

Mismatched text domain. Expected 'wp-hotel-booking-stripe-payment' but got 'wp-hotel-booking-stripe'.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.9
Category
Security
Occurrences
9
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

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

Sample message

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

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.5
Category
Security
Occurrences
5
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_COOKIE['wphb_stripe_awaiting_payment_intent'] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP Hotel Booking Stripe Payment" - contains the restricted term "wp" 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 - "WP Hotel Booking Stripe Payment" - contains the restricted term "wp" which cannot be used at all in your plugin name.

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

Show 11 more
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;

WARNINGMaintainabilityNon-prefixed function1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verification1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['wphb_stripe_awaiting_payment_intent']

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

Missing $domain parameter in function call to _e().

ERRORI18nMissing Translators Comment1
Category
I18n
Occurrences
1
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.

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.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.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

ERRORMaintainabilitystable tag mismatch1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Mismatched Stable Tag: 1.7.9 != 1.8.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.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "wp-hotel-booking-stripe", expected "wp-hotel-booking-stripe-payment".

External Connections

Potential connections found in static code analysis.

16 domains

Outbound calls

300

External assets

0

Incoming endpoints

0

Notable Domains

stripe.com234 · outbound
iso.org25 · outbound
docs.stripe.com13 · outbound
dashboard.stripe.com10 · outbound
js.stripe.com3 · outbound
php-fig.org2 · outbound

Platform / Reference Domains

github.com3 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.8.0

43

Latest

Findings
63
Errors
34
Warnings
29
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Jobber

1k+ active installs

99
Shore Booking Widget

1k+ active installs

99
Zenchef widget integration

1k+ active installs

98
Booking.com Product Helper

1k+ active installs

97