Charge Anywhere Payment Gateway For WooCommerce 4.0

Does "Charge Anywhere Payment Gateway For WooCommerce" work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 18.87 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/charge-anywhere-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=charge-anywhere-payment-gateway-for-woocommerce%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=149a4f2865
Aspect after-activation
HTTP status 200
Load time 0.205 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 200
Load time 0.172 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.143 s-0.186 s3.51 MiB
/wp-admin/edit.php0.201 s0.133 s-0.068 s3.57 MiB
/wp-admin/post-new.php0.772 s0.281 s-0.491 s6.06 MiB
/wp-admin/upload.php0.621 s0.183 s-0.438 s3.52 MiB
/wp-admin/options-writing.php0.220 s0.131 s-0.089 s3.5 MiB
/wp-admin/media-new.php0.269 s0.214 s-0.055 s3.49 MiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.140 s-0.053 s3.5 MiB
/wp-admin/post-new.php?post_type=page0.602 s0.210 s-0.392 s6.05 MiB
/wp-admin/options-discussion.php0.424 s0.138 s-0.286 s3.5 MiB
/wp-admin/edit-comments.php0.258 s0.296 s+0.038 s3.52 MiB
/0.297 s0.203 s-0.094 s3.43 MiB3.45 MiB+ 18.87 KiB
Average 0.381 s0.188 s-0.192 s3.97 MiB3.45 MiB+ 18.87 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
Language % Lines of code Comment lines Files
PHP83.4%1,4172456
JavaScript16.6%28264
Total 1,699 251 10

PHP Code Analysis | More results »

Lines of code 1,420
Total complexity 223
Median class complexity 14.0
Median method complexity 2.0
Most complex class WC_Gateway_ChargeAnywhere
Most complex function WC_Gateway_ChargeAnywhere::process_refund()
Classes 3
Methods 34
Functions 4

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

[05-Aug-2025 14:34:07 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/plugins.php(825): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:08 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/index.php(212): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:09 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/index.php(212): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:09 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/edit.php(518): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:09 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/post-new.php(83): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:09 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/upload.php(248): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:09 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/options-writing.php(257): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/media-new.php(90): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/edit-tags.php(700): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/post-new.php(83): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): {closure}()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-footer.php(78): do_action()
#4 /wp-admin/options-discussion.php(361): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php on line 296
[05-Aug-2025 14:34:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order() in /wp-content/plugins/charge-anywhere-payment-gateway-for-woocommerce/index.php:296

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