GreenPay™ by Green.Money 3.1.5

Does GreenPay™ by Green.Money work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
17PHP fatal errors
15Unrecognized messages in the PHP error log
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 0 bytes
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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/green-money-payment-gateway/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=green-money-payment-gateway%2Fgreenpay.php&plugin_status=all&paged=1&s&_wpnonce=bbda03ba20
Aspect after-activation
HTTP status 200
Load time 0.185 s
Memory usage N/A
JS errors None
Resource errors None

GreenPay™

Page screenshot: GreenPay™
URL /wp-admin/admin.php?page=greenpay_payment_gateway
Aspect menu-item
HTTP status 200
Load time 0.106 s
Memory usage N/A
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.093 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.367 s0.110 s-0.257 s3.51 MiB
/wp-admin/edit.php0.217 s0.117 s-0.100 s3.57 MiB
/wp-admin/post-new.php0.864 s0.257 s-0.607 s6.06 MiB
/wp-admin/upload.php0.818 s0.200 s-0.618 s3.52 MiB
/wp-admin/options-writing.php0.237 s0.130 s-0.107 s3.5 MiB
/wp-admin/media-new.php0.269 s0.261 s-0.008 s3.49 MiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.108 s-0.074 s3.5 MiB
/wp-admin/post-new.php?post_type=page0.775 s0.222 s-0.553 s6.05 MiB
/wp-admin/options-discussion.php0.458 s0.106 s-0.352 s3.5 MiB
/wp-admin/edit-comments.php0.271 s0.259 s-0.012 s3.52 MiB
Average 0.446 s0.177 s-0.269 s4.02 MiB+ 0 bytes

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
TypeScript
Language % Lines of code Comment lines Files
PHP46.5%1,6134646
TypeScript38.1%1,32440737
JavaScript5.7%19783
Sass4.0%14005
JSON2.4%8502
XML1.2%4261
SVG1.0%3301
Bourne Shell0.6%2131
YAML0.5%1701
Total 3,472 888 57

PHP Code Analysis | More results »

Lines of code 1,612
Total complexity 295
Median class complexity 19.0
Median method complexity 2.0
Most complex class WC_GreenPay_Gateway
Most complex function gmpg_status_update_all()
Classes 3
Methods 49
Functions 30

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

[02-Jul-2025 16:53:01 UTC] gmpg_add_admin_menu triggered
[02-Jul-2025 16:53:01 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WC_GreenPay_Payments does not have a method "woocommerce_gateway_green_money_notice" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-header.php(313): do_action()
#3 /wp-admin/plugins.php(637): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[02-Jul-2025 16:53:02 UTC] gmpg_add_admin_menu triggered
[02-Jul-2025 16:53:02 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WC_GreenPay_Payments does not have a method "woocommerce_gateway_green_money_notice" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-header.php(313): do_action()
#3 /wp-admin/index.php(137): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[02-Jul-2025 16:53:02 UTC] gmpg_add_admin_menu triggered
[02-Jul-2025 16:53:02 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WC_GreenPay_Payments does not have a method "woocommerce_gateway_green_money_notice" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-header.php(313): do_action()
#3 /wp-admin/admin.php(240): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[02-Jul-2025 16:53:03 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/green-money-payment-gateway/greenpay.php:130
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WC_GreenPay_Payments::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(2299): 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(3192): 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/green-money-payment-gateway/greenpay.php on line 130
[02-Jul-2025 16:53:04 UTC] gmpg_add_admin_menu triggered
[02-Jul-2025 16:53:04 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WC_GreenPay_Payments does not have a method "woocommerce_gateway_green_money_notice" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-header.php(313): do_action()
#3 /wp-admin/index.php(137): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[02-Jul-2025 16:53:04 UTC] gmpg_add_admin_menu triggered
[02-Jul-2025 16:53:04 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WC_GreenPay_Payments does not have a method "woocommerce_gateway_green_money_notice" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-header.php(313): do_action()
#3 /wp-admin/edit.php(411): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[02-Jul-2025 16:53:04 UTC] gmpg_add_admin_menu triggered
[02-Jul-2025 16:53:04 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WC_GreenPay_Payments does not have a method "woocommerce_gateway_green_money_notice" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-header.php(313): do_action()
#3 /wp-admin/edit-form-blocks.php(376): require_once('...')
#4 /wp-admin/post-new.php(72): require('...')
#5 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[02-Jul-2025 16:53:04 UTC] gmpg_add_admin_menu triggered
[02-Jul-2025 16:53:04 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WC_GreenPay_Payments does not have a method "woocommerce_gateway_green_money_notice" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-header.php(313): do_action()
#3 /wp-admin/upload.php(207): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[02-Jul-2025 16:53:04 UTC] gmpg_add_admin_menu triggered
[02-Jul-2025 16:53:04 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WC_GreenPay_Payments does not have a method "woocommerce_gateway_green_money_notice" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-header.php(313): do_action()
#3 /wp-admin/options-writing.php(59): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[02-Jul-2025 16:53:05 UTC] gmpg_add_admin_menu triggered
[02-Jul-2025 16:53:05 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WC_GreenPay_Payments does not have a method "woocommerce_gateway_green_money_notice" in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-header.php(313): do_action()
#3 /wp-admin/media-new.php(65): require_once('...')

(+77 more lines)
See also: All tests for this plugin