Checkout.com Payment Gateway 4.4.13

Does Checkout.com Payment Gateway work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 13.4 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700+
WordPress.org page https://wordpress.org/plugins/checkout-com-unified-payments-api/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=checkout-com-unified-payments-api%2Fwoocommerce-gateway-checkout-com.php&plugin_status=all&paged=1&s&_wpnonce=5776a10a95
Aspect after-activation
HTTP status 200
Load time 0.241 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 500
Load time 0.048 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.240 s0.207 s-0.033 s3.07 MiB3.09 MiB+ 21.27 KiB
/wp-admin/edit.php0.161 s0.154 s-0.007 s3.1 MiB3.12 MiB+ 21.21 KiB
/wp-admin/post-new.php0.669 s0.512 s-0.157 s5.02 MiB5.05 MiB+ 25.63 KiB
/wp-admin/upload.php0.721 s0.295 s-0.426 s3.02 MiB3.02 MiB+ 4.22 KiB
/wp-admin/options-writing.php0.128 s0.132 s+0.004 s3.01 MiB3.01 MiB- 7.51 KiB
/wp-admin/media-new.php0.213 s0.366 s+0.153 s2.99 MiB3.01 MiB+ 16.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.159 s0.145 s-0.014 s3.01 MiB3.03 MiB+ 21.22 KiB
/wp-admin/post-new.php?post_type=page0.529 s0.462 s-0.067 s5.01 MiB5.04 MiB+ 21.22 KiB
/wp-admin/options-discussion.php0.186 s0.198 s+0.012 s3 MiB3.01 MiB+ 6.23 KiB
/wp-admin/edit-comments.php0.163 s0.177 s+0.014 s3.03 MiB3.03 MiB+ 3.85 KiB
Average 0.317 s0.265 s-0.052 s3.43 MiB3.44 MiB+ 13.4 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
CSS
SVG
Language % Lines of code Comment lines Files
PHP69.4%5,5592,20931
JavaScript11.8%944846
CSS10.4%834363
SVG8.3%669858
Markdown0.1%701
Total 8,013 2,337 99

PHP Code Analysis | More results »

Lines of code 5,712
Total complexity 942
Median class complexity 10.5
Median method complexity 2.0
Most complex class WC_Checkoutcom_Api_Request
Most complex function WC_Checkoutcom_Utility::get_alternative_payment_methods()
Classes 30
Methods 197
Functions 20

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

No new entries found.

PHP Error Log 40 lines

[02-Apr-2023 17:59:06 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/checkout-com-unified-payments-api/woocommerce-gateway-checkout-com.php:211
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): callback_for_setting_up_scripts()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2194): do_action()
#4 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3049): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(783): require_once('...')
#10 /wp-includes/template.php(718): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/checkout-com-unified-payments-api/woocommerce-gateway-checkout-com.php on line 211
[02-Apr-2023 17:59:12 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/checkout-com-unified-payments-api/woocommerce-gateway-checkout-com.php:211
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): callback_for_setting_up_scripts()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2194): do_action()
#4 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3049): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(783): require_once('...')
#10 /wp-includes/template.php(718): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/checkout-com-unified-payments-api/woocommerce-gateway-checkout-com.php on line 211
See also: All tests for this plugin