New version of Klarna Payments for WooCommerce released

Version 2.4.0 of Klarna Payments for WooCommerce was released today.

In this version we have changed how and when we do calculations and send data to Klarna. Before we did this on the JavaScript event “updated_checkout”, but this has been changed to rather do it after WooCommerce does their calculations, using the action “woocommerce_after_calculate_totals”.

By doing it this this way we more closely follow the standard flow of how WooCommerce does things with the result being a slightly faster checkout as well as increased support for different plugins such as Checkout Addons.

We also added a filter on the order lines sent to Klarna, “kp_wc_api_order_lines”. Thank you Ernesto Ruge (github the-infinity).

Finally we removed the unsupported color settings for the Klarna Payments iframe.


Your Cart