WooCommerce Payments 5.2.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=d66cacc6fd
Aspect after-activation
HTTP status 200
Load time 0.401 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.212 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.268 s0.233 s-0.035 s3.05 MiB3.28 MiB+ 237.37 KiB
/wp-admin/edit.php0.180 s0.175 s-0.005 s3.07 MiB3.31 MiB+ 237.16 KiB
/wp-admin/post-new.php0.747 s0.909 s+0.162 s4.97 MiB5.27 MiB+ 314.63 KiB
/wp-admin/upload.php0.522 s0.278 s-0.244 s2.99 MiB3.21 MiB+ 221.05 KiB
/wp-admin/options-writing.php0.164 s0.144 s-0.020 s2.99 MiB3.19 MiB+ 207.7 KiB
/wp-admin/media-new.php0.277 s0.211 s-0.066 s2.97 MiB3.2 MiB+ 233.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.167 s-0.031 s2.98 MiB3.21 MiB+ 238.41 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.747 s+0.139 s4.96 MiB5.26 MiB+ 305.06 KiB
/wp-admin/options-discussion.php0.227 s0.222 s-0.005 s2.98 MiB3.19 MiB+ 221.55 KiB
/wp-admin/edit-comments.php0.194 s0.198 s+0.004 s3 MiB3.22 MiB+ 220.3 KiB
/0.278 s0.208 s-0.070 s2.94 MiB3.24 MiB+ 301.98 KiB
Average 0.333 s0.317 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.1%28,32714,744186
SVG1.7%485130
CSS0.9%26634
JavaScript0.2%65111
Markdown0.1%2502
Total 29,168 14,759 223

PHP Code Analysis | More results »

Lines of code 23,162
Total complexity 4,362
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,478
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

[21-Dec-2022 04:39:00 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
[21-Dec-2022 04:39:00 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
[21-Dec-2022 04:39:01 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
[21-Dec-2022 04:39:02 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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
[21-Dec-2022 04:39: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
See also: All tests for this plugin