• Resolved monsterr

    (@monsterr)


    Hi,

    There is an issue with Klarna payments. We get the following error to the top of the page as Woocommerce notification when trying to pay with Klarna

    “Cannot read properties of undefined (reading ‘elements’)”.

    Tried to rollback to 3.3.60 and it changed the behaviour to log it into browser console.

    Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘elements’)
    at A (upe_classic.js?ver=8.3.1:1:102661)
    at upe_classic.js?ver=8.3.1:1:104590
    at HTMLFormElement. (upe_classic.js?ver=8.3.1:1:104599)
    at HTMLFormElement.dispatch (jquery.js?ver=3.7.1:5145:27)
    at elemData.handle (jquery.js?ver=3.7.1:4949:28)
    at Object.trigger (jquery.js?ver=3.7.1:8629:12)
    at jQuery.fn.init.triggerHandler (jquery.js?ver=3.7.1:8713:24)
    at HTMLFormElement.submit (checkout.js?ver=8.9.3:480:97)
    at HTMLFormElement.dispatch (jquery.js?ver=3.7.1:5145:27)
    at elemData.handle (jquery.js?ver=3.7.1:4949:28)

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @monsterr

    upe_classic.js is a Javascript file from the WooCommerce Stripe Gateway plugin. I can see you’re using the WooCommerce Stripe Gateway on the checkout page and it’s causing that error.

    This is not an error caused by our Stripe plugin. Since you’re already using our plugin, I’d recommend you use it for card payments to, rather than using 2 different Stripe plugins.

    Kind Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Klarna payments failing’ is closed to new replies.