Razorpay for WooCommerce 4.3.4

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

Summary

Errors
4PHP warnings
4PHP notices
2Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 53.06 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 version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=13bff22deb
Aspect after-activation
HTTP status 200
Load time 2.832 s
Memory usage 3.52 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.335 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.273 s0.255 s-0.018 s3.54 MiB3.57 MiB+ 32.87 KiB
/wp-admin/edit.php0.191 s0.183 s-0.008 s3.57 MiB3.6 MiB+ 32.87 KiB
/wp-admin/post-new.php0.770 s0.659 s-0.111 s5.46 MiB5.52 MiB+ 57.73 KiB
/wp-admin/upload.php0.487 s0.273 s-0.214 s3.41 MiB3.5 MiB+ 95.74 KiB
/wp-admin/options-writing.php0.141 s0.149 s+0.008 s3.4 MiB3.48 MiB+ 78.21 KiB
/wp-admin/media-new.php0.386 s0.186 s-0.200 s3.38 MiB3.48 MiB+ 95.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.191 s+0.017 s3.48 MiB3.51 MiB+ 32.82 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.749 s+0.141 s5.46 MiB5.5 MiB+ 49.28 KiB
/wp-admin/options-discussion.php0.226 s0.238 s+0.012 s3.38 MiB3.48 MiB+ 96.23 KiB
/wp-admin/edit-comments.php0.190 s0.196 s+0.006 s3.48 MiB3.51 MiB+ 31.73 KiB
/0.248 s0.302 s+0.054 s3.46 MiB3.45 MiB- 19.67 KiB
Average 0.336 s0.307 s-0.028 s3.82 MiB3.87 MiB+ 53.06 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
PHP88.2%16,95110,402233
Markdown7.3%1,39906
JavaScript2.4%464134
CSS1.4%26112
JSON0.7%13002
YAML0.1%1811
SVG0.0%501
Total 19,228 10,417 249

PHP Code Analysis | More results »

Lines of code 16,832
Total complexity 3,634
Median class complexity 1.0
Median method complexity 2.0
Most complex class WC_Razorpay
Most complex function woocommerce_razorpay_init()
Classes 200
Methods 758
Functions 128

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.

User Metadata wp_usermeta 1

PHP Error Log 10 lines

[16-Nov-2022 00:53:20 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 2450
[16-Nov-2022 00:53:20 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 2450
[16-Nov-2022 00:53:20 UTC] PHP Warning:  Use of undefined constant WOOCOMMERCE_VERSION - assumed 'WOOCOMMERCE_VERSION' (this will throw an Error in a future version of PHP) in /wp-content/plugins/woo-razorpay/includes/plugin-instrumentation.php on line 117
[16-Nov-2022 00:53:21 UTC] The api key provided is invalid
[16-Nov-2022 00:53:21 UTC] PHP Warning:  Use of undefined constant WOOCOMMERCE_VERSION - assumed 'WOOCOMMERCE_VERSION' (this will throw an Error in a future version of PHP) in /wp-content/plugins/woo-razorpay/includes/plugin-instrumentation.php on line 117
[16-Nov-2022 00:53:32 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 2470
[16-Nov-2022 00:53:32 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 2470
[16-Nov-2022 00:53:32 UTC] PHP Warning:  Use of undefined constant WOOCOMMERCE_VERSION - assumed 'WOOCOMMERCE_VERSION' (this will throw an Error in a future version of PHP) in /wp-content/plugins/woo-razorpay/includes/plugin-instrumentation.php on line 117
[16-Nov-2022 00:53:33 UTC] The api key provided is invalid
[16-Nov-2022 00:53:33 UTC] PHP Warning:  Use of undefined constant WOOCOMMERCE_VERSION - assumed 'WOOCOMMERCE_VERSION' (this will throw an Error in a future version of PHP) in /wp-content/plugins/woo-razorpay/includes/plugin-instrumentation.php on line 117
See also: All tests for this plugin