WooCommerce Payments 6.5.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: 299.71 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=3e2ad645cb
Aspect after-activation
HTTP status 200
Load time 0.289 s
Memory usage 3.19 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.164 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.272 s-0.074 s2.82 MiB3.11 MiB+ 294.51 KiB
/wp-admin/edit.php0.200 s0.174 s-0.026 s2.85 MiB3.14 MiB+ 293.68 KiB
/wp-admin/post-new.php0.742 s0.541 s-0.201 s5.21 MiB5.57 MiB+ 368.73 KiB
/wp-admin/upload.php0.584 s0.526 s-0.058 s2.77 MiB3.04 MiB+ 276.83 KiB
/wp-admin/options-writing.php0.218 s0.197 s-0.021 s2.76 MiB3.02 MiB+ 268.79 KiB
/wp-admin/media-new.php0.355 s0.230 s-0.125 s2.74 MiB3.02 MiB+ 289.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.179 s-0.014 s2.76 MiB3.04 MiB+ 294.19 KiB
/wp-admin/post-new.php?post_type=page0.577 s0.599 s+0.022 s5.21 MiB5.56 MiB+ 363.16 KiB
/wp-admin/options-discussion.php0.392 s0.210 s-0.182 s2.75 MiB3.02 MiB+ 277.32 KiB
/wp-admin/edit-comments.php0.238 s0.210 s-0.028 s2.78 MiB3.05 MiB+ 276.82 KiB
/0.286 s0.208 s-0.078 s3.13 MiB3.42 MiB+ 293.8 KiB
Average 0.376 s0.304 s-0.071 s3.25 MiB3.55 MiB+ 299.71 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.2%38,50121,870325
Markdown3.9%1,589039
SVG1.1%430046
CSS0.6%23533
JavaScript0.2%65111
JSON0.1%3301
Total 40,853 21,884 415

PHP Code Analysis | More results »

Lines of code 33,292
Total complexity 6,366
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 279
Methods 2,263
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

[26-Sep-2023 18:50:25 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:239
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 239
See also: All tests for this plugin