GreenPay™ by Green.Money 3.1.8

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=f2020ed1ec
Aspect after-activation
HTTP status 200
Load time 0.183 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.094 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.067 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.459 s0.104 s-0.355 s3.51 MiB
/wp-admin/edit.php0.217 s0.123 s-0.094 s3.57 MiB
/wp-admin/post-new.php0.833 s0.208 s-0.625 s6.06 MiB
/wp-admin/upload.php0.810 s0.175 s-0.635 s3.52 MiB
/wp-admin/options-writing.php0.210 s0.123 s-0.087 s3.5 MiB
/wp-admin/media-new.php0.254 s0.167 s-0.087 s3.49 MiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.108 s-0.080 s3.5 MiB
/wp-admin/post-new.php?post_type=page1.243 s0.200 s-1.043 s6.05 MiB
/wp-admin/options-discussion.php0.454 s0.105 s-0.349 s3.5 MiB
/wp-admin/edit-comments.php0.233 s0.107 s-0.126 s3.52 MiB
Average 0.490 s0.142 s-0.348 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.8%1,6514736
TypeScript38.0%1,34140337
JavaScript5.6%19783
Sass4.0%14005
JSON2.4%8502
XML1.2%4261
SVG0.9%3301
Bourne Shell0.6%2131
YAML0.5%1701
Total 3,527 893 57

PHP Code Analysis | More results »

Lines of code 1,650
Total complexity 304
Median class complexity 28.0
Median method complexity 2.0
Most complex class WC_GreenPay_Gateway
Most complex function gmpg_status_update_all()
Classes 3
Methods 52
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

[09-Jul-2025 13:26:00 UTC] gmpg_add_admin_menu triggered
[09-Jul-2025 13:26:00 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
[09-Jul-2025 13:26:01 UTC] gmpg_add_admin_menu triggered
[09-Jul-2025 13:26: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/index.php(137): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[09-Jul-2025 13:26:01 UTC] gmpg_add_admin_menu triggered
[09-Jul-2025 13:26: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/admin.php(240): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[09-Jul-2025 13:26:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/green-money-payment-gateway/greenpay.php:167
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 167
[09-Jul-2025 13:26:02 UTC] gmpg_add_admin_menu triggered
[09-Jul-2025 13:26:03 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
[09-Jul-2025 13:26:03 UTC] gmpg_add_admin_menu triggered
[09-Jul-2025 13:26:03 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
[09-Jul-2025 13:26:03 UTC] gmpg_add_admin_menu triggered
[09-Jul-2025 13:26:03 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
[09-Jul-2025 13:26:03 UTC] gmpg_add_admin_menu triggered
[09-Jul-2025 13:26:03 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
[09-Jul-2025 13:26:03 UTC] gmpg_add_admin_menu triggered
[09-Jul-2025 13:26:03 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
[09-Jul-2025 13:26:03 UTC] gmpg_add_admin_menu triggered
[09-Jul-2025 13:26:03 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