Razorpay for WooCommerce 4.4.1

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

Summary

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

Memory usage: 13.92 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 70,000+
WordPress.org page https://wordpress.org/plugins/woo-razorpay/
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=woo-razorpay%2Fwoo-razorpay.php&plugin_status=all&paged=1&s&_wpnonce=8b7efe4005
Aspect after-activation
HTTP status 200
Load time 0.247 s
Memory usage 3 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.278 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.286 s0.229 s-0.057 s3.05 MiB3.06 MiB+ 16.45 KiB
/wp-admin/edit.php0.177 s0.172 s-0.005 s3.07 MiB3.09 MiB+ 16.45 KiB
/wp-admin/post-new.php0.761 s0.926 s+0.165 s4.97 MiB5.02 MiB+ 50.52 KiB
/wp-admin/upload.php0.548 s0.278 s-0.270 s2.99 MiB2.99 MiB- 936 bytes
/wp-admin/options-writing.php0.166 s0.130 s-0.036 s2.99 MiB2.97 MiB- 14.27 KiB
/wp-admin/media-new.php0.261 s0.218 s-0.043 s2.97 MiB2.98 MiB+ 11.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.173 s-0.024 s2.98 MiB3 MiB+ 16.45 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.742 s+0.119 s4.96 MiB5 MiB+ 42.11 KiB
/wp-admin/options-discussion.php0.229 s0.241 s+0.012 s2.97 MiB2.97 MiB- 424 bytes
/wp-admin/edit-comments.php0.210 s0.197 s-0.013 s3 MiB3 MiB- 944 bytes
/0.283 s0.209 s-0.074 s2.94 MiB2.96 MiB+ 16.41 KiB
Average 0.340 s0.320 s-0.021 s3.35 MiB3.37 MiB+ 13.92 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
PHP90.4%22,99513,933300
Markdown5.5%1,39906
JavaScript1.9%495134
CSS1.0%26112
JSON0.7%18004
XML0.2%5002
XSLT0.1%32331
YAML0.1%1811
SVG0.0%501
Total 25,435 13,981 321

PHP Code Analysis | More results »

Lines of code 22,707
Total complexity 4,799
Median class complexity 2.0
Median method complexity 2.0
Most complex class WC_Razorpay
Most complex function woocommerce_razorpay_init()
Classes 266
Methods 1,162
Functions 237

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.

No new entries found.

PHP Error Log 2 lines

[27-Jan-2023 13:01:09 UTC] PHP Deprecated:  Optional parameter $amount declared before required parameter $razorpayPaymentId is implicitly treated as a required parameter in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 1353
[27-Jan-2023 13:01:09 UTC] PHP Deprecated:  Optional parameter $reason declared before required parameter $razorpayPaymentId is implicitly treated as a required parameter in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 1353
See also: All tests for this plugin