WooCommerce Payments 5.1.2

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=74a851677a
Aspect after-activation
HTTP status 200
Load time 0.429 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.208 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.267 s0.252 s-0.015 s3.05 MiB3.28 MiB+ 237.37 KiB
/wp-admin/edit.php0.174 s0.171 s-0.003 s3.07 MiB3.31 MiB+ 237.16 KiB
/wp-admin/post-new.php0.719 s0.893 s+0.174 s4.97 MiB5.27 MiB+ 314.63 KiB
/wp-admin/upload.php0.644 s0.279 s-0.365 s2.99 MiB3.21 MiB+ 221.05 KiB
/wp-admin/options-writing.php0.136 s0.134 s-0.002 s2.99 MiB3.19 MiB+ 207.7 KiB
/wp-admin/media-new.php0.249 s0.219 s-0.030 s2.97 MiB3.2 MiB+ 233.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.184 s+0.020 s2.98 MiB3.21 MiB+ 238.41 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.749 s+0.143 s4.96 MiB5.26 MiB+ 305.06 KiB
/wp-admin/options-discussion.php0.210 s0.241 s+0.031 s2.98 MiB3.19 MiB+ 221.55 KiB
/wp-admin/edit-comments.php0.170 s0.197 s+0.027 s3 MiB3.22 MiB+ 220.3 KiB
/0.275 s0.203 s-0.072 s2.94 MiB3.24 MiB+ 301.98 KiB
Average 0.329 s0.320 s-0.008 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,10114,624185
SVG1.7%485130
CSS0.9%26634
JavaScript0.1%3211
Markdown0.1%2502
Total 28,909 14,629 222

PHP Code Analysis | More results »

Lines of code 22,983
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

[03-Dec-2022 02:55:45 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
[03-Dec-2022 02:55:46 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
[03-Dec-2022 02:55:46 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
[03-Dec-2022 02:55:47 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
[03-Dec-2022 02:55:48 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
[03-Dec-2022 02:55:48 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
[03-Dec-2022 02:55:48 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
[03-Dec-2022 02:55:48 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
[03-Dec-2022 02:55:50 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
[03-Dec-2022 02:55:50 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
[03-Dec-2022 02:55:50 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
[03-Dec-2022 02:55:50 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
[03-Dec-2022 02:55:50 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
[03-Dec-2022 02:55:50 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
[03-Dec-2022 02:55:50 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
[03-Dec-2022 02:55:50 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
[03-Dec-2022 02:55:50 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
[03-Dec-2022 02:55:50 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
[03-Dec-2022 02:55:51 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
[03-Dec-2022 02:55:51 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
[03-Dec-2022 02:55:51 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
[03-Dec-2022 02:55:51 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
[03-Dec-2022 02:55:51 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
[03-Dec-2022 02:55:53 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
[03-Dec-2022 02:55:53 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
[03-Dec-2022 02:55:53 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
[03-Dec-2022 02:55:53 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
[03-Dec-2022 02:55:53 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
[03-Dec-2022 02:55:53 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
[03-Dec-2022 02:55:53 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
[03-Dec-2022 02:55:53 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
[03-Dec-2022 02:55:53 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
[03-Dec-2022 02:55:53 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
[03-Dec-2022 02:55:54 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
[03-Dec-2022 02:55:54 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
[03-Dec-2022 02:55:54 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
[03-Dec-2022 02:55:55 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
[03-Dec-2022 02:55:55 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