Zibal Payment Gateway for Gravity Forms

با نصب این پلاگین می توانید از خدمات درگاه پرداخت واسط و مستقیم و یا اختصاصی زیبال برروی افزونه گرویتی فرم استفاده کنید!

v1.0.0Mohammad ZamanzadehUpdated Added 400 installs100% rating
27
Score
828
Errors
248
Warnings
+0
Change

Category Scores

Security0
Repo66
Performance100
Maintainability33

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,076 findings

Security

513

12 issue groups

I18n

357

3 issue groups

Maintainability

196

10 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'zibal-payment-gateway-for-gravity-forms' but got "gravityformszibal".320
Category
I18n
Occurrences
320
Severity
error

Sample message

Mismatched text domain. Expected 'zibal-payment-gateway-for-gravity-forms' but got "gravityformszibal".

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

Sample message

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

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

Sample message

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

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $sql65
Category
Security
Occurrences
65
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $sql

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $active_clause at "SELECT id, form_id, is_active, meta FROM $table_name WHERE form_id=%d $active_clause"53
Category
Security
Occurrences
53
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $active_clause at "SELECT id, form_id, is_active, meta FROM $table_name WHERE form_id=%d $active_clause"

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.47
Category
Maintainability
Occurrences
47
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGMaintainabilityDynamic hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "self::$author . '_gateway_get_order_total'".42
Category
Maintainability
Occurrences
42
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "self::$author . '_gateway_get_order_total'".

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

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().40
Category
Maintainability
Occurrences
40
Severity
warning

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 107.35
Category
Security
Occurrences
35
Severity
error

Sample message

Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 107.

Show 15 more
ERRORI18nMissing Translators Comment20
Category
I18n
Occurrences
20
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.

WARNINGMaintainabilityNon-prefixed hook name19
Category
Maintainability
Occurrences
19
Severity
warning

Sample message

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

ERRORI18nUnordered Placeholders Text17
Category
I18n
Occurrences
17
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'فرم: %s (فید: %s)'.

WARNINGSecurityRequest data is not unslashed12
Category
Security
Occurrences
12
Severity
warning

Sample message

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

WARNINGSecurityNonce verification recommended10
Category
Security
Occurrences
10
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized9
Category
Security
Occurrences
9
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated9
Category
Security
Occurrences
9
Severity
warning

Sample message

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

WARNINGSecurityDatabase parameter is not escaped4
Category
Security
Occurrences
4
Severity
warning

Sample message

Unescaped parameter $old_table used in $wpdb->get_var()\n$old_table assigned unsafely at line 16.

WARNINGMaintainabilityNon-prefixed class3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilitySchema Change1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityMissing nonce verification1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

ERRORMaintainabilityrand rand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORMaintainabilityDiscouraged WordPress constant usage: PLUGINDIR1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Found usage of constant "PLUGINDIR". Use WP_PLUGIN_DIR instead.

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Resource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.

External Connections

Potential connections found in static code analysis.

3 domains

Outbound calls

6

External assets

0

Incoming endpoints

1

Notable Domains

gateway.zibal.ir2 · outbound
gravityforms.ir2 · outbound
zibal.ir2 · outbound

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints1
wp_ajax_gf_zibal_update_feed_activeauthenticated

wp_ajax

Score History

First score snapshot

v1.0.0

27

Latest

Findings
1,076
Errors
828
Warnings
248
Check
2.0.0

Relationship Map

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

32 nodes

Related Plugins