• Resolved andreabaino

    (@andreabaino)


    Hello, we’re trying to set up Klarna Payments but we can’t make it works with custom, negative fees.


    We’re using negative fees to add custom discount on cart for specific logged in customers, but when a negative fee is applied Klarna is not visibile during the checkout. We’ve also tested with a positive fee (or none) and Klarna works properly.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support louisekrokedil

    (@louisekrokedil)

    Hi,

    This is expected behavior, when the sum is 0 or negative Klarna Payments is removed and replaced by WooCommerce standard checkout instead.

    Thread Starter andreabaino

    (@andreabaino)

    But the sum is not negative, only the fee applied to the cart. So the cart total is definitely positive.

    Plugin Support louisekrokedil

    (@louisekrokedil)

    Hi,

    Are you getting any error messages when this issue appear?

    Thread Starter andreabaino

    (@andreabaino)

    No, no error at all. It simply removes Klarna from the available payment methods. But I definitely do not think it is expected because searching trough the changelog I can also notice a reference to negative fees support. (v1.6.2)

    Thank you

    Plugin Support louisekrokedil

    (@louisekrokedil)

    Hi,

    We would need to take a look at the Klarna Payments log to be able to continue the troubleshooting process but since that is sensitive information that should not be published in a public forum, I suggest that you contact us via our?Krokedil support form.

    When the issue is solved, I will also post the solution in this forum thread.

    Thread Starter andreabaino

    (@andreabaino)

    Thank you, just sent it via the support form.

    Andrea

    Plugin Support louisekrokedil

    (@louisekrokedil)

    Hi Andrea,

    The reason for why Klarna is not visible when adding you custom negative fee is because Klarna can not handle a negative sum when the type is surcharge. The type needs to be discount instead for Klarna to be able to handle negative amounts.?

    Thread Starter andreabaino

    (@andreabaino)

    Thank you, the problem seems to be solved when using the $cart->add_fee() with the $taxable parameter to true.
    Thank you

    Andrea

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Negative fees prevent Klarna payments from showing up’ is closed to new replies.