Checkout.com Payment Gateway 4.5.0

Does Checkout.com Payment Gateway work with WordPress 6.5.4 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: 26.15 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.5.4
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=fe3e64526b
Aspect after-activation
HTTP status 200
Load time 0.251 s
Memory usage 3.41 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.061 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.php1.006 s0.315 s-0.691 s3.44 MiB3.47 MiB+ 29.68 KiB
/wp-admin/edit.php0.209 s0.192 s-0.017 s3.46 MiB3.49 MiB+ 29.69 KiB
/wp-admin/post-new.php0.914 s0.606 s-0.308 s5.59 MiB5.64 MiB+ 54.1 KiB
/wp-admin/upload.php0.539 s0.436 s-0.103 s3.38 MiB3.39 MiB+ 12.64 KiB
/wp-admin/options-writing.php0.221 s0.180 s-0.041 s3.37 MiB3.38 MiB+ 4.23 KiB
/wp-admin/media-new.php0.298 s0.177 s-0.121 s3.35 MiB3.38 MiB+ 25.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.280 s0.195 s-0.085 s3.37 MiB3.4 MiB+ 29.63 KiB
/wp-admin/post-new.php?post_type=page0.545 s0.590 s+0.045 s5.59 MiB5.63 MiB+ 49.69 KiB
/wp-admin/options-discussion.php0.289 s0.252 s-0.037 s3.36 MiB3.37 MiB+ 14.59 KiB
/wp-admin/edit-comments.php0.247 s0.202 s-0.045 s3.39 MiB3.4 MiB+ 12.21 KiB
Average 0.455 s0.315 s-0.140 s3.83 MiB3.86 MiB+ 26.15 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
Language % Lines of code Comment lines Files
PHP70.7%6,0262,28931
JavaScript11.4%969846
CSS9.9%842363
SVG8.0%679859
Markdown0.1%701
Total 8,523 2,417 100

PHP Code Analysis | More results »

Lines of code 6,217
Total complexity 1,000
Median class complexity 11.0
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 206
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

[09-Jun-2024 00:46:17 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:224
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): callback_for_setting_up_scripts()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2265): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3050): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): 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 224
[09-Jun-2024 00:46:26 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:224
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): callback_for_setting_up_scripts()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2265): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3050): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): 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 224
See also: All tests for this plugin