WooCommerce Payments 5.1.0

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

Summary

Errors
38PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 248.95 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.1.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=7f89e29482
Aspect after-activation
HTTP status 200
Load time 0.397 s
Memory usage 3.36 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.218 s
Memory usage 3.24 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.281 s0.239 s-0.042 s3.05 MiB3.28 MiB+ 237.37 KiB
/wp-admin/edit.php0.190 s0.179 s-0.011 s3.07 MiB3.31 MiB+ 237.16 KiB
/wp-admin/post-new.php0.762 s0.946 s+0.184 s4.97 MiB5.27 MiB+ 314.63 KiB
/wp-admin/upload.php0.633 s0.287 s-0.346 s2.99 MiB3.21 MiB+ 221.05 KiB
/wp-admin/options-writing.php0.169 s0.159 s-0.010 s2.99 MiB3.19 MiB+ 207.7 KiB
/wp-admin/media-new.php0.257 s0.184 s-0.073 s2.97 MiB3.2 MiB+ 233.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.186 s+0.013 s2.98 MiB3.21 MiB+ 238.41 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.724 s+0.101 s4.96 MiB5.26 MiB+ 305.06 KiB
/wp-admin/options-discussion.php0.206 s0.250 s+0.044 s2.98 MiB3.19 MiB+ 221.55 KiB
/wp-admin/edit-comments.php0.204 s0.211 s+0.007 s3 MiB3.22 MiB+ 220.3 KiB
/0.269 s0.224 s-0.045 s2.94 MiB3.24 MiB+ 301.98 KiB
Average 0.342 s0.326 s-0.016 s3.35 MiB3.6 MiB+ 248.95 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
PHP97.2%28,09814,624185
SVG1.7%485130
CSS0.9%26634
JavaScript0.1%3211
Markdown0.1%2502
Total 28,906 14,629 222

PHP Code Analysis | More results »

Lines of code 22,980
Total complexity 4,330
Median class complexity 10.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 165
Methods 1,471
Functions 15

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 38 lines

[30-Nov-2022 19:34:03 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:03 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:04 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:04 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:05 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:06 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:06 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:06 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:07 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:07 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:07 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:07 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:08 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:08 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:08 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:08 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:08 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:08 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:09 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:09 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:09 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:09 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:09 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:10 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:10 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:11 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:11 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:11 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:11 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:11 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:11 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:11 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:11 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:12 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:12 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:12 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:12 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
[30-Nov-2022 19:34:13 UTC] PHP Deprecated:  Return type of MyCLabs\Enum\Enum::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/woocommerce-payments/vendor/myclabs/php-enum/src/Enum.php on line 246
See also: All tests for this plugin