• Resolved Goudie

    (@goudie35)


    Hi,

    I am encountering an issue with Klarna, it does not appear as a payment option only when accessing the checkout via the direct checkout link (generated in WooCommerce admin for manual payments or e-mail the payment link to customers). However, it works perfectly fine for regular checkout flows.

    Interestingly, Klarna appears after performing the following steps:

    1. Add a product to the cart and go to the checkout step without completing the purchase (Klarna appears as expected).
    2. Go back to the direct checkout link (or refresh the payment page). Klarna then becomes visible on the direct checkout page and remains functional here as long as it’s the same browser (I don’t know until when).

    This behavior suggests Klarna may not be initializing properly on the direct checkout link unless “triggered” by a standard checkout session.

    Could you please investigate this issue or let me know if there’s a workaround to ensure Klarna appears consistently on the direct checkout link?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @goudie35

    I am not able to replicate the behavior you’re describing. My test consisted of:

    1. Clearing the cart to ensure there were no items
    2. Going to the WordPress Admin > WooCommerce > New Order page and creating an order
    3. Clicking the customer payment page link.

    Performing that test, Klarna showed as expected. It’s possible you have a 3rd party plugin that’s interfering with the list of available payment methods on your order pay page. If you have a staging site where this can be replicated, I recommend testing with just Woo and Stripe to see if the issue goes away. You can then enable plugins one by one until the issue occurs.

    Kind Regards

    Thread Starter Goudie

    (@goudie35)

    Thank you for your quick reply and suggestions. I’ve tried disabling almost all plugins (including those unrelated to payment methods since your plugin already handles most of them), but unfortunately, the issue persists.

    The problem always occurs again after clearing the browser’s cache and cookies. Klarna disappears when accessing the direct payment link, and it only becomes visible again after being triggered on the standard checkout page.

    Thank you again for your help!

    Thread Starter Goudie

    (@goudie35)

    Solved! 🥳

    The problem was caused by a custom function in my theme 👀 designed to hide Klarna when the total amount to pay is below 70€, and this function was checking the cart total. Since the direct payment link doesn’t rely on a cart… no cart, no amount, no amount, no Klarna !

    Thanks to ChatGPT I was able to fix my function to make it work for both scenarios.

    Thank you for your time and support!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Klarna not showing on direct checkout link’ is closed to new replies.