WooCommerce Payments 5.2.1

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=a7286330a9
Aspect after-activation
HTTP status 200
Load time 0.265 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.169 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.621 s0.244 s-0.377 s3.05 MiB3.28 MiB+ 237.37 KiB
/wp-admin/edit.php0.178 s0.266 s+0.088 s3.07 MiB3.31 MiB+ 237.16 KiB
/wp-admin/post-new.php0.732 s0.961 s+0.229 s4.97 MiB5.27 MiB+ 314.63 KiB
/wp-admin/upload.php0.490 s0.273 s-0.217 s2.99 MiB3.21 MiB+ 221.05 KiB
/wp-admin/options-writing.php0.137 s0.144 s+0.007 s2.99 MiB3.19 MiB+ 207.7 KiB
/wp-admin/media-new.php0.242 s0.218 s-0.024 s2.97 MiB3.2 MiB+ 233.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.163 s0.171 s+0.008 s2.98 MiB3.21 MiB+ 238.41 KiB
/wp-admin/post-new.php?post_type=page0.616 s0.624 s+0.008 s4.96 MiB5.26 MiB+ 305.06 KiB
/wp-admin/options-discussion.php0.201 s0.243 s+0.042 s2.98 MiB3.19 MiB+ 221.55 KiB
/wp-admin/edit-comments.php0.169 s0.172 s+0.003 s3 MiB3.22 MiB+ 220.3 KiB
/0.286 s0.196 s-0.090 s2.94 MiB3.24 MiB+ 301.98 KiB
Average 0.349 s0.319 s-0.029 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

[30-Dec-2022 10:27:32 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-Dec-2022 10:27:33 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-Dec-2022 10:27:33 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-Dec-2022 10:27:34 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-Dec-2022 10:27:35 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-Dec-2022 10:27:35 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-Dec-2022 10:27:35 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-Dec-2022 10:27:35 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-Dec-2022 10:27:37 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-Dec-2022 10:27:37 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-Dec-2022 10:27:37 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-Dec-2022 10:27:37 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-Dec-2022 10:27:37 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-Dec-2022 10:27:37 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-Dec-2022 10:27:37 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-Dec-2022 10:27:37 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-Dec-2022 10:27:38 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-Dec-2022 10:27:38 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-Dec-2022 10:27:38 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-Dec-2022 10:27:38 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-Dec-2022 10:27:38 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-Dec-2022 10:27:38 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-Dec-2022 10:27:39 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-Dec-2022 10:27:40 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-Dec-2022 10:27:40 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-Dec-2022 10:27:40 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-Dec-2022 10:27:40 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-Dec-2022 10:27:40 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-Dec-2022 10:27:40 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-Dec-2022 10:27:40 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-Dec-2022 10:27:40 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-Dec-2022 10:27:41 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-Dec-2022 10:27:41 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-Dec-2022 10:27:41 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-Dec-2022 10:27:41 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-Dec-2022 10:27:41 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-Dec-2022 10:27:42 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-Dec-2022 10:27:42 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