Swedbank Pay Payments 4.1.0

Does Swedbank Pay Payments work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
4PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 56.67 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.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/swedbank-pay-payments/
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=swedbank-pay-payments%2Fswedbank-pay-woocommerce-payments.php&plugin_status=all&paged=1&s&_wpnonce=44f13d8b40
Aspect after-activation
HTTP status 200
Load time 0.384 s
Memory usage 2.77 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 500
Load time 0.058 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.252 s0.242 s-0.010 s2.82 MiB2.88 MiB+ 61.19 KiB
/wp-admin/edit.php0.179 s0.193 s+0.014 s2.86 MiB2.92 MiB+ 60.8 KiB
/wp-admin/upload.php0.459 s0.287 s-0.172 s2.7 MiB2.75 MiB+ 60.26 KiB
/wp-admin/options-writing.php0.152 s0.144 s-0.008 s2.71 MiB2.74 MiB+ 28.25 KiB
/wp-admin/media-new.php0.255 s0.172 s-0.083 s2.67 MiB2.73 MiB+ 60.43 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.213 s+0.008 s2.77 MiB2.83 MiB+ 61.34 KiB
/wp-admin/options-discussion.php0.243 s0.168 s-0.075 s2.67 MiB2.73 MiB+ 60.76 KiB
/wp-admin/edit-comments.php0.207 s0.327 s+0.120 s2.78 MiB2.83 MiB+ 60.3 KiB
Average 0.244 s0.218 s-0.026 s2.75 MiB2.8 MiB+ 56.67 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
SVG
JavaScript
Language % Lines of code Comment lines Files
PHP37.6%5,3331,72032
SVG25.4%3,60201
JavaScript25.2%3,56581316
CSS7.2%1,026343
PO File3.3%4644862
Markdown0.4%5702
YAML0.3%4541
JSON0.3%4202
XML0.2%2601
Sass0.1%1101
Total 14,171 3,057 61

PHP Code Analysis | More results »

Lines of code 5,118
Total complexity 843
Median class complexity 28.0
Median method complexity 2.0
Most complex class WC_Gateway_Swedbank_Pay_Cc
Most complex function SwedbankPay\Payments\WooCommerce\WC_Swedbank_Pay_Instant_Capture::get_instant_capture_items()
Classes 25
Methods 239
Functions 1

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 1

PHP Error Log 42 lines

[13-Jul-2021 12:38:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function SwedbankPay\Payments\WooCommerce\is_checkout() in /wp-content/plugins/swedbank-pay-payments/includes/class-wc-swedbank-intl-tel.php:54
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): SwedbankPay\Payments\WooCommerce\WC_Swedbank_Intl_Tel->scripts()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2027): do_action()
#4 /wp-includes/class-wp-hook.php(292): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(484): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3009): do_action()
#8 /opt/bitnam in /wp-content/plugins/swedbank-pay-payments/includes/class-wc-swedbank-intl-tel.php on line 54
[13-Jul-2021 12:38:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function SwedbankPay\Payments\WooCommerce\wc_get_order() in /wp-content/plugins/swedbank-pay-payments/includes/class-wc-swedbank-plugin.php:234
Stack trace:
#0 /wp-includes/class-wp-hook.php(294): SwedbankPay\Payments\WooCommerce\WC_Swedbank_Plugin::add_meta_boxes()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-admin/includes/meta-boxes.php(1578): do_action()
#4 /wp-admin/edit-form-blocks.php(413): register_and_do_post_meta_boxes()
#5 /wp-admin/post-new.php(72): require('/opt/bitnami/ap...')
#6 {main}
  thrown in /wp-content/plugins/swedbank-pay-payments/includes/class-wc-swedbank-plugin.php on line 234
[13-Jul-2021 12:38:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function SwedbankPay\Payments\WooCommerce\wc_get_order() in /wp-content/plugins/swedbank-pay-payments/includes/class-wc-swedbank-plugin.php:234
Stack trace:
#0 /wp-includes/class-wp-hook.php(294): SwedbankPay\Payments\WooCommerce\WC_Swedbank_Plugin::add_meta_boxes()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-admin/includes/meta-boxes.php(1578): do_action()
#4 /wp-admin/edit-form-blocks.php(413): register_and_do_post_meta_boxes()
#5 /wp-admin/post-new.php(72): require('/opt/bitnami/ap...')
#6 {main}
  thrown in /wp-content/plugins/swedbank-pay-payments/includes/class-wc-swedbank-plugin.php on line 234
[13-Jul-2021 12:38:03 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function SwedbankPay\Payments\WooCommerce\is_checkout() in /wp-content/plugins/swedbank-pay-payments/includes/class-wc-swedbank-intl-tel.php:54
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): SwedbankPay\Payments\WooCommerce\WC_Swedbank_Intl_Tel->scripts()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2027): do_action()
#4 /wp-includes/class-wp-hook.php(292): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(484): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3009): do_action()
#8 /opt/bitnam in /wp-content/plugins/swedbank-pay-payments/includes/class-wc-swedbank-intl-tel.php on line 54
See also: All tests for this plugin