Payment Gateway for PayPal on WooCommerce 5.0.5

Does "Payment Gateway for PayPal on WooCommerce" work with WordPress 5.9.1 and PHP 7.4.8? 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: 61.21 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 version5.9.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/woo-paypal-gateway/
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=woo-paypal-gateway%2Fwoo-paypal-gateway.php&plugin_status=all&paged=1&s&_wpnonce=474b9ca9e9
Aspect after-activation
HTTP status 200
Load time 0.447 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.059 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.345 s0.281 s-0.064 s3.37 MiB3.43 MiB+ 57.02 KiB
/wp-admin/edit.php0.179 s0.186 s+0.007 s3.4 MiB3.46 MiB+ 56.31 KiB
/wp-admin/post-new.php1.019 s1.221 s+0.202 s6.14 MiB6.2 MiB+ 62.12 KiB
/wp-admin/upload.php0.388 s0.386 s-0.002 s3.25 MiB3.31 MiB+ 63.89 KiB
/wp-admin/options-writing.php0.335 s0.143 s-0.192 s3.24 MiB3.29 MiB+ 47.74 KiB
/wp-admin/media-new.php0.267 s0.194 s-0.073 s3.23 MiB3.29 MiB+ 64.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.183 s+0.005 s3.27 MiB3.32 MiB+ 56.97 KiB
/wp-admin/post-new.php?post_type=page0.976 s1.192 s+0.216 s6.14 MiB6.19 MiB+ 57.7 KiB
/wp-admin/options-discussion.php0.219 s0.271 s+0.052 s3.22 MiB3.29 MiB+ 64.38 KiB
/wp-admin/edit-comments.php0.214 s0.200 s-0.014 s3.27 MiB3.35 MiB+ 81.91 KiB
Average 0.412 s0.426 s+0.014 s3.85 MiB3.91 MiB+ 61.21 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
Language % Lines of code Comment lines Files
PHP97.5%31,15220,199389
JavaScript1.8%58505
CSS0.3%11004
JSON0.2%6402
Markdown0.1%3601
Total 31,947 20,199 401

PHP Code Analysis | More results »

Lines of code 29,793
Total complexity 5,916
Median class complexity 8.0
Median method complexity 1.0
Most complex class Woo_Paypal_Gateway_Express_Checkout_API_Handler_NVP
Most complex function Woo_PayPal_Gateway_PayPal_Pro_API_Handler::wpg_update_payment_status_by_paypal_responce()
Classes 374
Methods 3,335
Functions 25

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

[25-Feb-2022 13:03:18 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woo-paypal-gateway/public/class-woo-paypal-gateway-public.php:268
Stack trace:
#0 /wp-content/plugins/woo-paypal-gateway/public/class-woo-paypal-gateway-public.php(260): Woo_Paypal_Gateway_Public->wpg_enable_paypal_checkout()
#1 /wp-includes/class-wp-hook.php(307): Woo_Paypal_Gateway_Public->wpg_add_header_meta()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(474): WP_Hook->do_action()
#4 /wp-includes/general-template.php(3042): do_action()
#5 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#6 /wp-includes/template.php(770): require_once('/opt/bitnami/ap...')
#7 /wp-includes/templat in /wp-content/plugins/woo-paypal-gateway/public/class-woo-paypal-gateway-public.php on line 268
[25-Feb-2022 13:03:25 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woo-paypal-gateway/public/class-woo-paypal-gateway-public.php:268
Stack trace:
#0 /wp-content/plugins/woo-paypal-gateway/public/class-woo-paypal-gateway-public.php(260): Woo_Paypal_Gateway_Public->wpg_enable_paypal_checkout()
#1 /wp-includes/class-wp-hook.php(307): Woo_Paypal_Gateway_Public->wpg_add_header_meta()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(474): WP_Hook->do_action()
#4 /wp-includes/general-template.php(3042): do_action()
#5 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#6 /wp-includes/template.php(770): require_once('/opt/bitnami/ap...')
#7 /wp-includes/templat in /wp-content/plugins/woo-paypal-gateway/public/class-woo-paypal-gateway-public.php on line 268
See also: All tests for this plugin