Chapa Payment Gateway Plugin for WooCommerce 1.0.2

Does "Chapa Payment Gateway Plugin for WooCommerce" work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 7.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.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400+
WordPress.org page https://wordpress.org/plugins/chapa-payment-gateway-for-woocommerce/
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=chapa-payment-gateway-for-woocommerce%2Fwoo-chapa.php&plugin_status=all&paged=1&s&_wpnonce=130eab9e75
Aspect after-activation
HTTP status 200
Load time 0.482 s
Memory usage 3.51 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 500
Load time 0.072 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.343 s0.290 s-0.053 s3.48 MiB3.49 MiB+ 13.11 KiB
/wp-admin/edit.php0.211 s0.199 s-0.012 s3.54 MiB3.56 MiB+ 13.11 KiB
/wp-admin/post-new.php0.803 s0.629 s-0.174 s5.92 MiB5.94 MiB+ 17.53 KiB
/wp-admin/upload.php0.585 s0.279 s-0.306 s3.5 MiB3.49 MiB- 4.3 KiB
/wp-admin/options-writing.php0.208 s0.191 s-0.017 s3.47 MiB3.47 MiB- 312 bytes
/wp-admin/media-new.php0.361 s0.228 s-0.133 s3.46 MiB3.47 MiB+ 7.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.384 s+0.204 s3.48 MiB3.49 MiB+ 18.56 KiB
/wp-admin/post-new.php?post_type=page0.587 s0.632 s+0.045 s5.92 MiB5.93 MiB+ 13.06 KiB
/wp-admin/options-discussion.php0.280 s0.251 s-0.029 s3.47 MiB3.47 MiB- 3.8 KiB
/wp-admin/edit-comments.php0.195 s0.210 s+0.015 s3.49 MiB3.49 MiB- 4.3 KiB
Average 0.375 s0.329 s-0.046 s3.97 MiB3.98 MiB+ 7.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
JavaScript
Markdown
Language % Lines of code Comment lines Files
PHP70.2%4621764
JavaScript14.9%98124
Markdown11.2%7401
JSON3.6%2401
Total 658 188 10

PHP Code Analysis | More results »

Lines of code 465
Total complexity 65
Median class complexity 17.0
Median method complexity 2.0
Most complex class WAF_WC_CHAPA_Gateway
Most complex function WAF_WC_CHAPA_Gateway::chapa_proceed()
Classes 3
Methods 25
Functions 0

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

[25-Nov-2024 21:47:08 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/chapa-payment-gateway-for-woocommerce/woo-chapa.php:47
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WC_CHAPA_Payments->button_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2272): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3064): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/chapa-payment-gateway-for-woocommerce/woo-chapa.php on line 47
[25-Nov-2024 21:47:15 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/chapa-payment-gateway-for-woocommerce/woo-chapa.php:47
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WC_CHAPA_Payments->button_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2272): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3064): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/chapa-payment-gateway-for-woocommerce/woo-chapa.php on line 47
See also: All tests for this plugin