Razorpay for WooCommerce 4.4.3

Does Razorpay for WooCommerce work with WordPress 6.2 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: 15.37 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.2
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=92ffeffc72
Aspect after-activation
HTTP status 200
Load time 0.382 s
Memory usage 3.03 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.219 s
Memory usage 3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.653 s0.234 s-0.419 s3.07 MiB3.09 MiB+ 18.25 KiB
/wp-admin/edit.php0.165 s0.164 s-0.001 s3.1 MiB3.12 MiB+ 18.25 KiB
/wp-admin/post-new.php0.696 s0.840 s+0.144 s5.02 MiB5.07 MiB+ 48.32 KiB
/wp-admin/upload.php0.484 s0.288 s-0.196 s3.02 MiB3.02 MiB+ 904 bytes
/wp-admin/options-writing.php0.188 s0.129 s-0.059 s3.01 MiB3 MiB- 12.36 KiB
/wp-admin/media-new.php0.247 s0.202 s-0.045 s2.99 MiB3 MiB+ 13.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.167 s-0.018 s3.01 MiB3.02 MiB+ 18.24 KiB
/wp-admin/post-new.php?post_type=page0.601 s0.702 s+0.101 s5.01 MiB5.06 MiB+ 43.91 KiB
/wp-admin/options-discussion.php0.224 s0.203 s-0.021 s3 MiB3 MiB+ 1.38 KiB
/wp-admin/edit-comments.php0.205 s0.183 s-0.022 s3.03 MiB3.03 MiB+ 896 bytes
/0.276 s0.180 s-0.096 s2.97 MiB2.99 MiB+ 18.2 KiB
Average 0.357 s0.299 s-0.057 s3.38 MiB3.4 MiB+ 15.37 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.6%24,14113,947307
Markdown5.3%1,39906
JavaScript2.1%556144
CSS1.0%26112
JSON0.7%18004
XML0.2%5002
XSLT0.1%32331
YAML0.1%1811
SVG0.0%501
Total 26,642 13,996 328

PHP Code Analysis | More results »

Lines of code 23,853
Total complexity 4,914
Median class complexity 2.0
Median method complexity 1.0
Most complex class WC_Razorpay
Most complex function woocommerce_razorpay_init()
Classes 274
Methods 1,238
Functions 240

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

[30-Mar-2023 04:18:28 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 1390
[30-Mar-2023 04:18:28 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 1390
See also: All tests for this plugin