Save on accepting payments with the Revolut Gateway for WooCommerce plugin for your store. You can accept card payments in up to 22 currencies.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
120
6 issue groups
Maintainability
108
16 issue groups
I18n
10
2 issue groups
Repo Compliance
1
1 issue group
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[LOGGED_IN_COOKIE]49
- Category
- Security
- Occurrences
- 49
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[LOGGED_IN_COOKIE]
ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $autoload40
- Category
- Security
- Occurrences
- 40
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $autoload
WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_Revolut_Blocks_Support".20
- Category
- Maintainability
- Occurrences
- 20
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_Revolut_Blocks_Support".
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.18
- Category
- Maintainability
- Occurrences
- 18
- 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().18
- Category
- Maintainability
- Occurrences
- 18
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "FAILED_CARD".18
- Category
- Maintainability
- Occurrences
- 18
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "FAILED_CARD".
ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Something went wrong: $method $url\n"'.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 '"Something went wrong: $method $url\n"'.
WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable {$this->table} at "INSERT INTO {$this->table} (option_name, option_value, autoload) \n8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable {$this->table} at "INSERT INTO {$this->table} (option_name, option_value, autoload) \n
WARNINGSecurityRequest data is not unslashed$_POST['code'] not unslashed before sanitization. Use wp_unslash() or similar8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
$_POST['code'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORI18nText Domain MismatchMismatched text domain. Expected 'revolut-gateway-for-woocommerce' but got 'woocommerce'.8
- Category
- I18n
- Occurrences
- 8
- Severity
- error
Sample message
Mismatched text domain. Expected 'revolut-gateway-for-woocommerce' but got 'woocommerce'.
Show 15 moreShow less
WARNINGMaintainabilityNon-prefixed global variable6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$idx".
ERRORMaintainabilityMissing direct file access protection6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityNon-prefixed trait4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Traits declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_Revolut_Express_Checkout_Helper_Trait".
ERRORMaintainabilitywp function not compatible with requires wp4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
Function "get_current_network_id()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 4.4.0.
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: "declare_features_compatibility".
WARNINGMaintainabilityerror log error log3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
error_log() found. Debug code should not normally be used in production.
ERRORMaintainabilityfile system operations mkdir2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
ERRORMaintainabilityunlink unlink2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
ERRORI18nMissing Arg Domain2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGMaintainabilityNon-prefixed hook name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wc_revolut_settings_nav_tabs".
ERRORSecurityOutput is not escaped1
- Category
- Security
- Occurrences
- 1
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wc_help_tip'.
ERRORMaintainabilityfile system operations fopen1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
ERRORMaintainabilitybadly named files1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
File and folder names must not contain spaces or special characters.
ERRORRepo Compliancemismatched tested up to header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Mismatched "Tested up to": 6.8.2 != 6.7.1. The "Tested up to" value in the readme file must match the "Tested up to" value in the plugin header. If the plugin header has a "Tested up to" value, it will override the readme value, which can cause confusion.
WARNINGMaintainabilitymissing composer json file1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
The "/vendor" directory using composer exists, but "composer.json" file is missing.
Score History
First score snapshot
v4.22.6
32
Latest
- Findings
- 242
- Errors
- 85
- Warnings
- 157
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 32 | 242 | 85 | 157 | v4.22.6 | 2.0.0 |