Support » Plugin: Klarna Checkout for WooCommerce » Huge problem with Klarna and new 16% tax rate

  • Resolved dav74

    (@dav74)


    Hello,

    Since the start of July when Germany changed the tax rate to 16%, we have had no sales with Klarna. We only discovered this problem today.

    When a user checks out with Klarna they are not taken to the “payment success page” (order complete) on our website as they should, but get to a 404 page. The URL for the page is the following: checkout/Klarna Payments API Error: 400 Bad Request%20 Bad value: order_lines[0].total_tax_amount

    So it seems your plugin has not been updated to account for the new tax rate on shops?? We need a fix ASAP for this.

    We are very upset as this issue has cost us thousands or EUROS.

    Please can someone reply ASAP.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Kristi at Klarna

    (@klarna)

    Hi @dav74 ,
    The Klarna Payments for WooCommerce plugin pulls the tax data from the Woo checkout data, which is default configured under WooCommerce->Settings->Tax. If a tax rate is changed in those configuration settings, the Woo Klarna Payments plugin would use that updated data, as is done in a out of box standard non-customized WooCommerce store. There is likely something in your store that is changing tax data other than just the standard Woo tax configuration settings but not making that change available where expected in the Woo data for the Klarna Payments for WooCommerce code to retrieve the updated tax data. Perhaps is there a plugin in your store updating tax data separate from Woo standard tax configurations? If you can’t yet determine which plugin is not yet compatible with Klarna Payments for WooCommerce relating to tax data, it may be necessary to deactivate plugins (ideally in a test store) until test orders can be placed successfully, then reactivate plugins individually to determine which plugin is incompatible. Once the plugin is identified, the Klarna Payments for WooCommerce plugin developers can review if and where a code update would be required to make the plugins compatible. Once you’ve identified the plugin, or if you need support doing so, please share the plugin information via support@krokedil.com

    Plugin Author Michael Bengtsson

    (@michaelbengtsson)

    Hi @dav74
    We have had other support tickets mentioning that this was caused by the plugin German Markets. If you have that plugin installed i would recommend you to turn off the plugin and setup the 16% tax in WooCommerce to see if that solves the issue.

    Thread Starter dav74

    (@dav74)

    Hi @michaelbengtsson @klarna

    Thank you for your replies. Yes this is an incompatability issue between a GM add-on for the new tax reduction, and your plugin.

    We have disabled the GM add-on and manually set a 16% tax rate in WooCommerce, and that fixed the issue. Sadly we had no idea customers where getting to a 404 page and a failed order until 2 weeks later, when a customer kindly informed us.

    Anyhow, I have also notified German MArket and wait to hear their comments.

    Plugin Author Kristi at Klarna

    (@klarna)

    Closing this support topic as the incompatibility has been confirmed. The Woo KCO plugin will not be updated to resolve the incompatibility since the Woo KCO code does work with out of box Woo tax configurations. Please do share updates though if you hear further from German Market (https://marketpress.com/shop/plugins/woocommerce/woocommerce-german-market/) plugin developers.

    tschopo

    (@tschopo)

    The Plugin developers of German market state that it is a problem on your side: They use the WooCommerce-Hooks woocommerce_find_rates and woocommerce_rate_percent to modify the tax rates.

    Plugin Author Michael Bengtsson

    (@michaelbengtsson)

    @tschopo We use the function get_rates from the class WC_Tax. In the end if they use the filter woocommerce_find_rates it should work, since that is used during that stack. Since this does not seem to work, i do not know exactly why. However a solution is to set the tax yourself in WooCommerce and it will work. The issue is not with our calculations since it works with it using WooCommerce itself, the issue only comes up when German Market is active with their tax rate change.

    Sadly this is an incompatibility that we wont be solving, due to it having such a potential major impact on all of our functionality. And it works if you set it up manually in WooCommerce as well. We have added this as a incompatibility in our documentation, along with a short description on the solution and why exactly its needed.

    You can read the documentation regarding this here.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Huge problem with Klarna and new 16% tax rate’ is closed to new replies.