Direct Payments for WooCommerce 1.0.0

Does "Direct Payments for WooCommerce" work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
16PHP fatal errors
2PHP warnings
120PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 107.16 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.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 800+
WordPress.org page https://wordpress.org/plugins/direct-payments-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=direct-payments-for-woocommerce%2Fdigages.php&plugin_status=all&paged=1&s&_wpnonce=04849ab4c6
Aspect after-activation
HTTP status 200
Load time 0.385 s
Memory usage 3.58 MiB
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.270 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.388 s0.334 s-0.054 s3.47 MiB3.57 MiB+ 98.63 KiB
/wp-admin/edit.php0.238 s0.237 s-0.001 s3.54 MiB3.63 MiB+ 99.54 KiB
/wp-admin/post-new.php0.893 s0.675 s-0.218 s5.75 MiB5.87 MiB+ 122.73 KiB
/wp-admin/upload.php0.583 s0.558 s-0.025 s3.49 MiB3.57 MiB+ 81.34 KiB
/wp-admin/options-writing.php0.225 s0.418 s+0.193 s3.41 MiB3.55 MiB+ 143.13 KiB
/wp-admin/media-new.php0.323 s0.333 s+0.010 s3.4 MiB3.55 MiB+ 157.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.229 s+0.027 s3.47 MiB3.57 MiB+ 104.2 KiB
/wp-admin/post-new.php?post_type=page0.659 s0.659 s+0.000 s5.75 MiB5.86 MiB+ 118.31 KiB
/wp-admin/options-discussion.php0.242 s0.302 s+0.060 s3.41 MiB3.55 MiB+ 145.52 KiB
/wp-admin/edit-comments.php0.268 s0.257 s-0.011 s3.49 MiB3.57 MiB+ 81.33 KiB
/0.337 s0.282 s-0.055 s3.45 MiB3.48 MiB+ 26.55 KiB
Average 0.396 s0.389 s-0.007 s3.88 MiB3.98 MiB+ 107.16 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP49.6%3,33635860
CSS27.4%1,839471
JavaScript22.5%1,51119217
SVG0.5%3409
Total 6,720 597 87

PHP Code Analysis | More results »

Lines of code 1,736
Total complexity 259
Median class complexity 17.0
Median method complexity 1.0
Most complex class Digages_Gateway_Direct_Pay
Most complex function digages_fetch_payment_methods()
Classes 1
Methods 7
Functions 61

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

[25-Oct-2024 15:13:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:24 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:24 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:24 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:24 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:25 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()
#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-ajax.php(192): do_action()
#4 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php on line 10
[25-Oct-2024 15:13:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:26 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()
#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-ajax.php(192): do_action()
#4 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php on line 10
[25-Oct-2024 15:13:26 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/direct-payments-for-woocommerce/functions/popupenqueue.php on line 9
[25-Oct-2024 15:13:26 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()
#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-ajax.php(192): do_action()
#4 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php on line 10
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:27 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()
#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-ajax.php(192): do_action()
#4 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php on line 10
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:27 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()
#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-ajax.php(192): do_action()
#4 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php on line 10
[25-Oct-2024 15:13:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:28 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:28 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:28 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:28 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:28 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()
#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-ajax.php(192): do_action()
#4 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php on line 10
[25-Oct-2024 15:13:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:30 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:30 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:30 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7300
[25-Oct-2024 15:13:30 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2189
[25-Oct-2024 15:13:31 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:10
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_fetch_payment_methods()

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