Direct Payments for Woocommerce 1.5.0

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

Summary

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

Memory usage: 137.99 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.7.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=1744b98a93
Aspect after-activation
HTTP status 200
Load time 0.358 s
Memory usage 3.64 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.297 s0.364 s+0.067 s3.48 MiB3.62 MiB+ 139.96 KiB
/wp-admin/post-new.php0.754 s0.620 s-0.134 s5.93 MiB6.09 MiB+ 164.07 KiB
/wp-admin/upload.php0.529 s0.363 s-0.166 s3.5 MiB3.62 MiB+ 122.77 KiB
/wp-admin/options-writing.php0.196 s0.203 s+0.007 s3.47 MiB3.6 MiB+ 127.07 KiB
/wp-admin/media-new.php0.268 s0.258 s-0.010 s3.46 MiB3.6 MiB+ 135.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.230 s0.302 s+0.072 s3.48 MiB3.62 MiB+ 145.94 KiB
/wp-admin/post-new.php?post_type=page0.562 s0.613 s+0.051 s5.92 MiB6.08 MiB+ 159.6 KiB
/wp-admin/options-discussion.php0.277 s0.300 s+0.023 s3.48 MiB3.6 MiB+ 124.2 KiB
/wp-admin/edit-comments.php0.208 s0.231 s+0.023 s3.5 MiB3.62 MiB+ 123.07 KiB
Average 0.369 s0.362 s-0.007 s4.02 MiB4.16 MiB+ 137.99 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
PHP52.7%4,73650673
CSS23.9%2,147644
JavaScript23.0%2,06534823
SVG0.4%37010
Total 8,985 918 110

PHP Code Analysis | More results »

Lines of code 2,291
Total complexity 317
Median class complexity 12.5
Median method complexity 1.0
Most complex class Digages_Gateway_Direct_Pay
Most complex function digages_fetch_payment_methods()
Classes 2
Methods 11
Functions 69

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

[17-Feb-2025 02:17:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:39 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
[17-Feb-2025 02:17:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:39 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
[17-Feb-2025 02:17:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:39 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
[17-Feb-2025 02:17:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:39 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
[17-Feb-2025 02:17:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:39 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
[17-Feb-2025 02:17:39 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
[17-Feb-2025 02:17:40 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:40 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
[17-Feb-2025 02:17:40 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:40 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
[17-Feb-2025 02:17:40 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:40 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
[17-Feb-2025 02:17:40 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:40 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
[17-Feb-2025 02:17:40 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:40 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
[17-Feb-2025 02:17:40 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
[17-Feb-2025 02:17:41 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(830): do_action_ref_array()
#4 /wp-includes/functions.php(1336): 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
[17-Feb-2025 02:17:41 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:41 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
[17-Feb-2025 02:17:41 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:41 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
[17-Feb-2025 02:17:41 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:41 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
[17-Feb-2025 02:17:41 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:41 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
[17-Feb-2025 02:17:41 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:41 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
[17-Feb-2025 02:17:41 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
[17-Feb-2025 02:17:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:42 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
[17-Feb-2025 02:17:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:42 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
[17-Feb-2025 02:17:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:42 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
[17-Feb-2025 02:17:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:42 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
[17-Feb-2025 02:17:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:42 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
[17-Feb-2025 02:17:42 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(830): do_action_ref_array()
#4 /wp-includes/functions.php(1336): WP->main()
#5 /wp-admin/includes/post.php(1306): wp()
#6 /wp-admin/includes/class-wp-posts-list-table.php(165): wp_edit_posts_query()
#7 /wp-admin/edit.php(235): WP_Posts_List_Table->prepare_items()
#8 {main}
  thrown in /wp-content/plugins/direct-payments-for-woocommerce/others.php on line 248
[17-Feb-2025 02:17:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:42 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
[17-Feb-2025 02:17:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:42 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
[17-Feb-2025 02:17:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:42 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
[17-Feb-2025 02:17:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:42 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
[17-Feb-2025 02:17:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7329
[17-Feb-2025 02:17:42 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
[17-Feb-2025 02:17:42 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()

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