Direct Payments for Woocommerce 2.0.0

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

Summary

Errors
17PHP fatal errors
2PHP warnings
170PHP deprecation warnings
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 167.41 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
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 3

Woodp ‹ Test site — WordPress

Page screenshot: Woodp ‹ Test site — WordPress
URL /wp-admin/admin.php?page=digages-woodp-onboarding
Requested URL /wp-admin/plugins.php?action=activate&plugin=direct-payments-for-woocommerce%2Fdigages.php&plugin_status=all&paged=1&s&_wpnonce=3778fda139
Aspect after-activation
HTTP status 200
Load time 0.796 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Woodp

Page screenshot: Woodp
URL /wp-admin/admin.php?page=digages-woodp-onboarding
Aspect menu-item
HTTP status 200
Load time 0.230 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.046 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.311 s0.298 s-0.013 s3.51 MiB3.68 MiB+ 174.85 KiB
/wp-admin/post-new.php0.767 s0.646 s-0.121 s6.06 MiB6.23 MiB+ 174.88 KiB
/wp-admin/upload.php0.578 s0.690 s+0.112 s3.52 MiB3.68 MiB+ 157.53 KiB
/wp-admin/options-writing.php0.223 s0.230 s+0.007 s3.5 MiB3.66 MiB+ 161.84 KiB
/wp-admin/media-new.php0.274 s0.215 s-0.059 s3.49 MiB3.66 MiB+ 170.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.256 s0.200 s-0.056 s3.5 MiB3.68 MiB+ 180.7 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.640 s+0.020 s6.05 MiB6.22 MiB+ 170.41 KiB
/wp-admin/options-discussion.php0.485 s0.280 s-0.205 s3.5 MiB3.66 MiB+ 158.65 KiB
/wp-admin/edit-comments.php0.248 s0.222 s-0.026 s3.52 MiB3.68 MiB+ 157.84 KiB
Average 0.418 s0.380 s-0.038 s4.07 MiB4.24 MiB+ 167.41 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
PHP53.3%7,549790127
CSS26.9%3,8089913
JavaScript18.6%2,62846737
SVG1.1%152035
JSON0.1%2001
Total 14,157 1,356 213

PHP Code Analysis | More results »

Lines of code 3,699
Total complexity 455
Median class complexity 10.0
Median method complexity 1.0
Most complex class Digages_Gateway_Direct_Pay
Most complex function digages_fetch_payment_methods()
Classes 3
Methods 14
Functions 110

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.

Database Tables 1

Options wp_options 3

PHP Error Log 318 lines

[20-Apr-2025 00:33:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:08 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:08 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:08 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:08 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:08 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:08 UTC] PHP Warning:  Undefined variable $site_url in /wp-content/plugins/direct-payments-for-woocommerce/onboarding/enqueue.php on line 140
[20-Apr-2025 00:33:08 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:7
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 7
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:09 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:7
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 7
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:09 UTC] PHP Warning:  Undefined variable $site_url in /wp-content/plugins/direct-payments-for-woocommerce/onboarding/enqueue.php on line 140
[20-Apr-2025 00:33:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:7
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 7
[20-Apr-2025 00:33:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/direct-payments-for-woocommerce/others.php:248
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): digages_check_and_populate_cart()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(835): do_action_ref_array()
#4 /wp-includes/functions.php(1342): WP->main()
#5 /wp-blog-header.php(16): wp()
#6 /index.php(17): require('...')
#7 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/others.php on line 248
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:11 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/direct-payments-for-woocommerce/frontend/paymethods.php:7
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 7
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[20-Apr-2025 00:33:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360

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