Swedbank Pay Payments 4.0.1

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: 54.06 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=c67576fd92
Aspect after-activation
HTTP status 200
Load time 0.454 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.060 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.504 s0.272 s-0.232 s2.82 MiB2.88 MiB+ 58.59 KiB
/wp-admin/edit.php0.226 s0.196 s-0.030 s2.86 MiB2.92 MiB+ 58.2 KiB
/wp-admin/upload.php0.326 s0.336 s+0.010 s2.7 MiB2.75 MiB+ 57.66 KiB
/wp-admin/options-writing.php0.232 s0.160 s-0.072 s2.71 MiB2.74 MiB+ 25.65 KiB
/wp-admin/media-new.php0.217 s0.164 s-0.053 s2.67 MiB2.73 MiB+ 57.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.200 s-0.004 s2.77 MiB2.83 MiB+ 58.73 KiB
/wp-admin/options-discussion.php0.305 s0.198 s-0.107 s2.67 MiB2.73 MiB+ 58.16 KiB
/wp-admin/edit-comments.php0.217 s0.196 s-0.021 s2.78 MiB2.83 MiB+ 57.7 KiB
Average 0.279 s0.215 s-0.064 s2.75 MiB2.8 MiB+ 54.06 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
PHP36.6%5,0971,68231
SVG25.8%3,60201
JavaScript25.6%3,56581316
CSS7.4%1,026343
PO File3.3%4644862
Markdown0.4%5702
YAML0.3%4541
JSON0.3%4202
XML0.2%2601
Sass0.1%1101
Total 13,935 3,019 60

PHP Code Analysis | More results »

Lines of code 4,942
Total complexity 812
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 235
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

[08-Jun-2021 18:27:13 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
[08-Jun-2021 18:27:14 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:208
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 208
[08-Jun-2021 18:27:16 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:208
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 208
[08-Jun-2021 18:27:16 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