Integrate Razorpay for Contact Form 7

Seamlessly integrates Razorpay with Contact Form 7

v2.0.6vinaysaini30Updated Added 500 installs100% rating
26
Score
152
Errors
97
Warnings
+0
Change

Category Scores

Security0
Repo82
Performance100
Maintainability18

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

249 findings

Security

126

7 issue groups

Maintainability

80

15 issue groups

I18n

26

3 issue groups

ERRORMaintainabilitycurl curl setoptUsing cURL functions is highly discouraged. Use wp_remote_get() instead.39
Category
Maintainability
Occurrences
39
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

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

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.24
Category
Security
Occurrences
24
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_GET['cf7rzp_form'] not unslashed before sanitization. Use wp_unslash() or similar23
Category
Security
Occurrences
23
Severity
warning

Sample message

$_GET['cf7rzp_form'] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'integrate-razorpay-contact-form-7' but got 'cf7rzp'.21
Category
I18n
Occurrences
21
Severity
error

Sample message

Mismatched text domain. Expected 'integrate-razorpay-contact-form-7' but got 'cf7rzp'.

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

Sample message

Processing form data without nonce verification.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$cf7'.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 '$cf7'.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

ERRORMaintainabilitycurl curl errnoUsing cURL functions is highly discouraged. Use wp_remote_get() instead.4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

Show 15 more
ERRORMaintainabilityfile system operations fclose4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

WARNINGMaintainabilityNot In Footer4
Category
Maintainability
Occurrences
4
Severity
warning

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.

WARNINGMaintainabilityNon-prefixed function3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fopen3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

ERRORMaintainabilityfile system operations fwrite3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

WARNINGMaintainabilityMissing Version3
Category
Maintainability
Occurrences
3
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.

ERRORI18nMissing Translators Comment3
Category
I18n
Occurrences
3
Severity
error

Sample message

A function call to _n_noop() 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.

WARNINGMaintainabilityDirect Query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORSecurityUnsafe printing function2
Category
Security
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilitycurl curl close2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl error2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl exec2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilityparse url parse url2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERRORI18nMissing Arg Domain2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

External Connections

Potential connections found in static code analysis.

17 domains

Outbound calls

59

External assets

1

Incoming endpoints

10

Notable Domains

tools.ietf.org22 · outbound
secure.php.net7 · outbound
htmlcolorcodes.com4 · outbound
cdn.razorpay.com3 · outbound
api.razorpay.com1 · outbound

Platform / Reference Domains

github.com6 · platform/reference
core.trac.wordpress.org2 · platform/reference
opensource.org2 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

checkout.razorpay.com2 · asset + outbound

Incoming Endpoints

wp_ajax_nopriv_cf7rzp_create_orderpublic

wp_ajax

wp_ajax_nopriv_cf7rzp_get_payment_more_infopublic

wp_ajax

wp_ajax_nopriv_cf7rzp_update_payment_statuspublic

wp_ajax

wp_ajax_nopriv_cf7rzp_verify_paymentpublic

wp_ajax

wp_ajax_nopriv_is_cf7rzp_activatedpublic

wp_ajax

Admin AJAX endpoints5
wp_ajax_cf7rzp_create_orderauthenticated

wp_ajax

wp_ajax_cf7rzp_get_payment_more_infoauthenticated

wp_ajax

wp_ajax_cf7rzp_update_payment_statusauthenticated

wp_ajax

wp_ajax_cf7rzp_verify_paymentauthenticated

wp_ajax

wp_ajax_is_cf7rzp_activatedauthenticated

wp_ajax

Score History

First score snapshot

v2.0.6

26

Latest

Findings
249
Errors
152
Warnings
97
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins