Paytm Payment Gateway 2.4

Does "Paytm WooCommerce Payment Gateway" work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 9.84 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 version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 9,000+
WordPress.org page https://wordpress.org/plugins/paytm-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=paytm-payments%2Fwoo-paytm.php&plugin_status=all&paged=1&s&_wpnonce=c9f2d9eff2
Aspect after-activation
HTTP status 200
Load time 0.375 s
Memory usage 2.79 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.164 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.251 s0.263 s+0.012 s2.82 MiB2.83 MiB+ 14.17 KiB
/wp-admin/edit.php0.174 s0.184 s+0.010 s2.86 MiB2.88 MiB+ 14.17 KiB
/wp-admin/post-new.php0.872 s0.940 s+0.068 s5.02 MiB5.05 MiB+ 27.27 KiB
/wp-admin/upload.php0.473 s0.275 s-0.198 s2.7 MiB2.7 MiB+ 9.04 KiB
/wp-admin/options-writing.php0.212 s0.150 s-0.062 s2.71 MiB2.69 MiB- 22.98 KiB
/wp-admin/media-new.php0.222 s0.173 s-0.049 s2.67 MiB2.68 MiB+ 9.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.179 s+0.001 s2.77 MiB2.78 MiB+ 10.12 KiB
/wp-admin/post-new.php?post_type=page1.054 s0.732 s-0.322 s5.01 MiB5.03 MiB+ 18.85 KiB
/wp-admin/options-discussion.php0.291 s0.255 s-0.036 s2.67 MiB2.68 MiB+ 9.52 KiB
/wp-admin/edit-comments.php0.226 s0.220 s-0.006 s2.78 MiB2.78 MiB+ 9.02 KiB
/0.318 s0.120 s-0.198 s2.65 MiB
Average 0.388 s0.317 s-0.071 s3.15 MiB3.21 MiB+ 9.84 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
CSS
Language % Lines of code Comment lines Files
PHP91.0%8651285
CSS9.0%8601
Total 951 128 6

PHP Code Analysis | More results »

Lines of code 874
Total complexity 149
Median class complexity 21.5
Median method complexity 2.0
Most complex class WC_paytm
Most complex function WC_paytm::check_paytm_response()
Classes 4
Methods 35
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.

Database Tables 1

PHP Error Log 24 lines

[06-Jul-2021 10:58:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_plugin_data() in /wp-content/plugins/paytm-payments/woo-paytm.php:75
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): paytmWoopayment_enqueue_style()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3009): do_action()
#4 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#5 /wp-includes/template.php(730): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(676): load_template()
#7 /wp-includes/general-template.php(48): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(18): get_header in /wp-content/plugins/paytm-payments/woo-paytm.php on line 75
[06-Jul-2021 10:58:02 UTC] PHP Notice:  Undefined index: post in /wp-content/plugins/paytm-payments/woo-paytm.php on line 166
[06-Jul-2021 10:58:05 UTC] PHP Notice:  Undefined index: post in /wp-content/plugins/paytm-payments/woo-paytm.php on line 166
[06-Jul-2021 10:58:07 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_plugin_data() in /wp-content/plugins/paytm-payments/woo-paytm.php:75
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): paytmWoopayment_enqueue_style()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3009): do_action()
#4 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#5 /wp-includes/template.php(730): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(676): load_template()
#7 /wp-includes/general-template.php(48): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(18): get_header in /wp-content/plugins/paytm-payments/woo-paytm.php on line 75
See also: All tests for this plugin