Payment Gateway for PayPal on WooCommerce 5.0.4

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: 0.034 seconds
The average page load time increased by this amount after activating the plugin.

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=d104aed9dd
Aspect after-activation
HTTP status 200
Load time 0.298 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.105 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.386 s0.454 s+0.068 s3.37 MiB3.43 MiB+ 57.02 KiB
/wp-admin/edit.php0.176 s0.318 s+0.142 s3.4 MiB3.46 MiB+ 56.31 KiB
/wp-admin/post-new.php1.010 s1.183 s+0.173 s6.14 MiB6.2 MiB+ 62.12 KiB
/wp-admin/upload.php0.370 s0.349 s-0.021 s3.25 MiB3.31 MiB+ 63.89 KiB
/wp-admin/options-writing.php0.301 s0.142 s-0.159 s3.24 MiB3.29 MiB+ 47.74 KiB
/wp-admin/media-new.php0.258 s0.191 s-0.067 s3.23 MiB3.29 MiB+ 64.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.190 s-0.008 s3.27 MiB3.32 MiB+ 56.97 KiB
/wp-admin/post-new.php?post_type=page0.927 s1.040 s+0.113 s6.14 MiB6.19 MiB+ 57.7 KiB
/wp-admin/options-discussion.php0.227 s0.322 s+0.095 s3.22 MiB3.29 MiB+ 64.38 KiB
/wp-admin/edit-comments.php0.203 s0.212 s+0.009 s3.27 MiB3.35 MiB+ 81.91 KiB
Average 0.406 s0.440 s+0.034 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

[24-Feb-2022 12:59:10 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
[24-Feb-2022 12:59: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
See also: All tests for this plugin