GreenPay™ by Green.Money 3.1.1

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=87772b7af4
Aspect after-activation
HTTP status 200
Load time 0.182 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.104 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.051 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.613 s0.108 s-0.505 s3.51 MiB
/wp-admin/edit.php0.226 s0.112 s-0.114 s3.57 MiB
/wp-admin/post-new.php0.829 s0.228 s-0.601 s6.06 MiB
/wp-admin/upload.php0.623 s0.185 s-0.438 s3.52 MiB
/wp-admin/options-writing.php0.226 s0.138 s-0.088 s3.5 MiB
/wp-admin/media-new.php0.287 s0.176 s-0.111 s3.49 MiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.110 s-0.073 s3.5 MiB
/wp-admin/post-new.php?post_type=page1.164 s0.215 s-0.949 s6.05 MiB
/wp-admin/options-discussion.php0.358 s0.104 s-0.254 s3.5 MiB
/wp-admin/edit-comments.php0.267 s0.107 s-0.160 s3.52 MiB
Average 0.478 s0.148 s-0.329 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.9%1,6134646
TypeScript37.5%1,29040737
JavaScript5.7%19783
Sass4.1%14005
JSON2.5%8502
XML1.2%4261
SVG1.0%3301
Bourne Shell0.6%2131
YAML0.5%1701
Total 3,438 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

[30-Jun-2025 17:39:57 UTC] gmpg_add_admin_menu triggered
[30-Jun-2025 17:39:57 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
[30-Jun-2025 17:39:58 UTC] gmpg_add_admin_menu triggered
[30-Jun-2025 17:39:58 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
[30-Jun-2025 17:39:58 UTC] gmpg_add_admin_menu triggered
[30-Jun-2025 17:39:58 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
[30-Jun-2025 17:39:59 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
[30-Jun-2025 17:39:59 UTC] gmpg_add_admin_menu triggered
[30-Jun-2025 17:39:59 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
[30-Jun-2025 17:40:00 UTC] gmpg_add_admin_menu triggered
[30-Jun-2025 17:40: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/edit.php(411): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[30-Jun-2025 17:40:00 UTC] gmpg_add_admin_menu triggered
[30-Jun-2025 17:40: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/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
[30-Jun-2025 17:40:00 UTC] gmpg_add_admin_menu triggered
[30-Jun-2025 17:40: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/upload.php(207): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[30-Jun-2025 17:40:00 UTC] gmpg_add_admin_menu triggered
[30-Jun-2025 17:40: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/options-writing.php(59): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[30-Jun-2025 17:40:00 UTC] gmpg_add_admin_menu triggered
[30-Jun-2025 17:40: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/media-new.php(65): require_once('...')

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