• Resolved jjgerrish

    (@jjgerrish)


    I’ve enabled Klarna as a checkout payment option for my site.

    This works as expected apart from one thing:
    When I add a coupon using the “checkout_coupon woocommerce-form-coupon” form, the checkout refreshes and the new basket total is reflected, but the Klarna <iframe> does not update and still shows the old values.

    For example if the total of the basket is £300, the Klarna box shows I can make 3 interest free payments of £100. If I apply a 50% off coupon, the basket updates to show the new total as £150, but Klarna still shows I can make 3 interest free payments of £100, not £50 as it should be.

    If I manually reload the page, Klarna updates to show the correct values, but I want Klarna to update when a coupon code is added or removed as it can be confusing for the user if the Klarna values don’t reflect the actual basket total.

    Can this be fixed? I’ve tried adding some code to the “updated_checkout” event to manually refresh the iframe myself but I can’t seem to get it to work.

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @jjgerrish

    Thanks for the detailed explanation. To better understand the issue, could you please provide a screen recording? Also, if possible, share a link to your site so we can test it on our end.

    The issue might be related to your browser or a conflicting extension. Have you tried testing this in incognito mode?

    Thread Starter jjgerrish

    (@jjgerrish)

    Hi @mosesmedh

    Thanks for getting back to me.

    Below is a screen recording of me adding and removing a coupon in an incognito window, where the issue still happens. You can see the Klarna values aren’t updated until I manually refresh the page.

    Plugin Support Mahfuzur Rahman(woo-hc)

    (@mahfuzurwp)

    Hi @jjgerrish,

    Thank you for the video. The issue seems to be related to the frontend behavior, where the Klarna iframe isn’t refreshing automatically after the coupon is applied. To investigate further, could you please send us a screenshot of the browser console window after applying the coupon?

    To access the browser console:

    1. Right-click anywhere on your site and select Inspect (or press F12).

    2. Navigate to the Console tab.

    3. Apply the coupon, and check for any errors or messages that appear.

    Once you capture the screenshot, you can upload it using https://snipboard.io/ and then share the link with us.

    Looking forward to your reply!

    Thread Starter jjgerrish

    (@jjgerrish)

    Hi @mahfuzurwp

    No errors appear in the console after adding or removing a coupon unfortunately.

    Here is a link to the screenshot anyways: https://snipboard.io/Y59NIR.jpg

    Thanks

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello jjgerrish,

    Thank you for your reply and for sharing screenshot.

    Have tested this on a default theme like Twenty Twenty-Four?
    I want to confirm if this has to do with the current theme and how it handles Ajax requests.

    Lastly, please share your site’s System Status Report with me.
    You can paste it into https://pastebin.com and share the link here.

    Looking forward to your response. ??

    Plugin Support Feten L. a11n

    (@fetenlakhal)

    Hi!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Ruben

    (@rubenecho)

    Hi stripe team,

    Im having the same problem as described here with the same behaviour as the video.
    I have changed the theme, and the error still persists.

    I have here a link to my system status – https://pastebin.com/NAzw04zK

    Can I get some assistance on this please?

    • This reply was modified 1 week, 4 days ago by Ruben.
    Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @rubenecho,

    I see you’re experiencing the same issue, but it’s best to create a new topic so we can address your concern separately. Please start a new thread here: https://www.ads-software.com/support/plugin/woocommerce-gateway-stripe/ and include as many details as possible. This also helps follow the forum guidelines, as cross-posting isn’t allowed.

    Ruben

    (@rubenecho)

    Hi Moses,

    I have open a new topic. Thank you

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.