PostFinance Checkout
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
645
3 issue groups
Security
292
6 issue groups
Maintainability
221
16 issue groups
ERRORI18nText Domain MismatchMismatched text domain. Expected 'woo-postfinance-checkout' but got 'woo-postfinancecheckout'.637
- Category
- I18n
- Occurrences
- 637
- Severity
- error
Sample message
Mismatched text domain. Expected 'woo-postfinance-checkout' but got 'woo-postfinancecheckout'.
ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Invalid value for enum '$class', must be one of: '$imploded'"'.144
- Category
- Security
- Occurrences
- 144
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Invalid value for enum '$class', must be one of: '$imploded'"'.
WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $old_table_name used in $wpdb->query()\n$old_table_name assigned unsafely at line 710.90
- Category
- Security
- Occurrences
- 90
- Severity
- warning
Sample message
Unescaped parameter $old_table_name used in $wpdb->query()\n$old_table_name assigned unsafely at line 710.
ERRORMaintainabilitycurl curl setoptUsing cURL functions is highly discouraged. Use wp_remote_get() instead.81
- Category
- Maintainability
- Occurrences
- 81
- Severity
- error
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
ERRORMaintainabilityparse url parse urlparse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.27
- Category
- Maintainability
- Occurrences
- 27
- Severity
- error
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.26
- Category
- Security
- Occurrences
- 26
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_wc_postfinancecheckout_renewal_cart_setup".25
- Category
- Maintainability
- Occurrences
- 25
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_wc_postfinancecheckout_renewal_cart_setup".
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.14
- Category
- Security
- Occurrences
- 14
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.
WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- warning
Sample message
error_log() found. Debug code should not normally be used in production.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
Show 15 moreShow less
WARNINGMaintainabilityNo Caching9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityInput is not sanitized9
- Category
- Security
- Occurrences
- 9
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['changes'][$first_key]
WARNINGSecurityRequest data is not unslashed9
- Category
- Security
- Occurrences
- 9
- Severity
- warning
Sample message
$_POST['changes'][$first_key] not unslashed before sanitization. Use wp_unslash() or similar
ERRORMaintainabilitycurl curl error9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- error
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
ERRORMaintainabilityfile system operations fclose9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
WARNINGMaintainabilityerror log print r6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
print_r() found. Debug code should not normally be used in production.
ERRORMaintainabilitycurl curl exec6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
ERRORMaintainabilitycurl curl getinfo6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
ERRORMaintainabilityfile system operations fopen6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
ERRORMaintainabilityfile system operations fwrite6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().
ERRORMaintainabilityNot Allowed4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
ERRORI18nMissing Arg Domain4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORI18nNon Singular String Literal Text4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: <<<TEXT\n The Integration Options setting determines how the payment form is displayed during the WooCommerce checkout process. Choose the option that best suits your store’s needs:\n \n IFrame: Embeds the payment form directly within the WooCommerce checkout page for a seamless experience.\n \n Lightbox: Opens a secure popup window for customers to complete their payment without leaving the checkout page.\n \n Payment Page: Redirects customers to a dedicated payment page hosted by the payment provider.\n TEXT
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: "WooCommerce_PostFinanceCheckout".
WARNINGMaintainabilityNon-prefixed global variable3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "$name".
External Connections
Potential connections found in static code analysis.
Outbound calls
297
External assets
0
Incoming endpoints
3
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
No public endpoints detected.
Admin AJAX endpoints3
wp_ajax
wp_ajax
wp_ajax
Score History
First score snapshot
v3.4.5
23
Latest
- Findings
- 1,193
- Errors
- 979
- Warnings
- 214
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 23 | 1,193 | 979 | 214 | v3.4.5 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.