Razorpay for WooCommerce 4.3.1

Does Razorpay for WooCommerce work with WordPress 6.0.2 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: 43.86 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.0.2
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=bede3f509c
Aspect after-activation
HTTP status 200
Load time 2.821 s
Memory usage 3.73 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.286 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.365 s0.411 s+0.046 s3.72 MiB3.76 MiB+ 32.76 KiB
/wp-admin/edit.php0.192 s0.210 s+0.018 s3.76 MiB3.79 MiB+ 32.76 KiB
/wp-admin/post-new.php0.971 s1.269 s+0.298 s5.55 MiB5.6 MiB+ 57.62 KiB
/wp-admin/upload.php0.437 s0.322 s-0.115 s3.69 MiB3.72 MiB+ 31.68 KiB
/wp-admin/options-writing.php0.153 s0.150 s-0.003 s3.62 MiB3.69 MiB+ 75.59 KiB
/wp-admin/media-new.php0.443 s0.192 s-0.251 s3.66 MiB3.7 MiB+ 31.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.213 s+0.023 s3.69 MiB3.72 MiB+ 32.76 KiB
/wp-admin/post-new.php?post_type=page0.925 s0.928 s+0.003 s5.54 MiB5.6 MiB+ 57.62 KiB
/wp-admin/options-discussion.php0.218 s0.307 s+0.089 s3.6 MiB3.69 MiB+ 96.11 KiB
/wp-admin/edit-comments.php0.213 s0.219 s+0.006 s3.7 MiB3.73 MiB+ 31.61 KiB
/0.279 s0.212 s-0.067 s3.59 MiB3.59 MiB+ 2.16 KiB
Average 0.399 s0.403 s+0.004 s4.01 MiB4.05 MiB+ 43.86 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.0%16,71110,395232
Markdown7.4%1,39906
JavaScript2.4%464134
CSS1.4%26112
JSON0.7%13002
YAML0.1%1811
SVG0.0%501
Total 18,988 10,410 248

PHP Code Analysis | More results »

Lines of code 16,579
Total complexity 3,591
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 124

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 10 lines

[21-Sep-2022 13:30:14 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 2396
[21-Sep-2022 13:30:14 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 2396
[21-Sep-2022 13:30:14 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
[21-Sep-2022 13:30:15 UTC] The api key provided is invalid
[21-Sep-2022 13:30:15 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
[21-Sep-2022 13:30:27 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 2416
[21-Sep-2022 13:30:27 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 2416
[21-Sep-2022 13:30:27 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
[21-Sep-2022 13:30:29 UTC] The api key provided is invalid
[21-Sep-2022 13:30:29 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