WooCommerce Payments 6.4.1

Does WooCommerce Payments work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 297.84 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.3.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700,000+
WordPress.org page https://wordpress.org/plugins/woocommerce-payments/
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=woocommerce-payments%2Fwoocommerce-payments.php&plugin_status=all&paged=1&s&_wpnonce=92769e3b57
Aspect after-activation
HTTP status 200
Load time 0.299 s
Memory usage 3.18 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 200
Load time 0.169 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.330 s0.276 s-0.054 s2.82 MiB3.11 MiB+ 292.51 KiB
/wp-admin/edit.php0.195 s0.200 s+0.005 s2.85 MiB3.13 MiB+ 291.68 KiB
/wp-admin/post-new.php0.735 s0.541 s-0.194 s5.21 MiB5.57 MiB+ 367.46 KiB
/wp-admin/upload.php0.569 s0.253 s-0.316 s2.77 MiB3.04 MiB+ 274.82 KiB
/wp-admin/options-writing.php0.209 s0.333 s+0.124 s2.76 MiB3.02 MiB+ 266.79 KiB
/wp-admin/media-new.php0.375 s0.295 s-0.080 s2.74 MiB3.02 MiB+ 287.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.186 s+0.002 s2.76 MiB3.04 MiB+ 292.19 KiB
/wp-admin/post-new.php?post_type=page0.561 s0.530 s-0.031 s5.21 MiB5.56 MiB+ 361.89 KiB
/wp-admin/options-discussion.php0.456 s0.219 s-0.237 s2.75 MiB3.02 MiB+ 275.32 KiB
/wp-admin/edit-comments.php0.226 s0.208 s-0.018 s2.78 MiB3.05 MiB+ 274.82 KiB
/0.266 s0.191 s-0.075 s3.13 MiB3.41 MiB+ 291.8 KiB
Average 0.373 s0.294 s-0.079 s3.25 MiB3.54 MiB+ 297.84 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
Language % Lines of code Comment lines Files
PHP94.1%37,63321,187320
Markdown4.0%1,589039
SVG1.1%430046
CSS0.6%23533
JavaScript0.2%65111
JSON0.1%3301
Total 39,985 21,201 410

PHP Code Analysis | More results »

Lines of code 32,424
Total complexity 6,157
Median class complexity 8.0
Median method complexity 2.0
Most complex class WC_Payment_Gateway_WCPay
Most complex function WC_Payment_Gateway_WCPay::process_payment_for_order()
Classes 274
Methods 2,207
Functions 18

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.

Options wp_options 2

PHP Error Log 9 lines

[06-Sep-2023 22:14:29 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WCPay\WooPay\wc_get_orders() in /wp-content/plugins/woocommerce-payments/includes/woopay/class-woopay-session.php:243
Stack trace:
#0 /wp-includes/class-wp-hook.php(310): WCPay\WooPay\WooPay_Session::run_and_remove_woopay_restore_order_customer_id_schedules()
#1 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(816): do_action()
#4 /wp-admin/plugins.php(209): deactivate_plugins()
#5 {main}
  thrown in /wp-content/plugins/woocommerce-payments/includes/woopay/class-woopay-session.php on line 243
See also: All tests for this plugin