• Resolved paolurso

    (@paolurso)


    Hi there,
    after your latest update, the on-site messaging feature that displays Klarna installment payments on product pages is no longer appearing on my website. Upon investigating the issue, I found the following error in my PHP logs:

    PHP Warning: Undefined array key “klarna_onsite_messaging_sdk” in /public_html/wp-content/themes/Divi/includes/builder/feature/JQueryBody.php on line 249

    It seems that the Divi theme is trying to access the klarna_onsite_messaging_sdk array key, which is either missing or not initialized properly by the Klarna On-Site Messaging plugin since the recent update.

    Could you please advise on how to fix this?

    Thank you,
    Paolo

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Andreas – Krokedil

    (@boozebrorsan)

    Hi!

    Are you using the widget or shortcode from OSM in your page builder?

    Can you see any console errors if you visit a product page, that there is some blockings that results in a 401 error. You can easily see this in your browsers console view.

    If we need to dig deeper in this matter I would say that it might be best if you contacted us through our support form as there might be things that we need that is NOT suitable to share on an open forum. After we find the solution we can post that info here for others to see in this case.

    Thread Starter paolurso

    (@paolurso)

    Hi Andreas, yes I’m using shortcode and the error in console is the following:

    index.ts:25 Klarna Web SDK: invalid purchase-amount in klarna-placement, it should be a number

    PS: I just updated your today release 3.7.2 but the issue persists.

    I just updated the plugin and having the same issue with onsite messaging now missing and klarna payment option missing from checkout

    Plugin Support Andreas – Krokedil

    (@boozebrorsan)

    @jon75 Could you check if your client-id is missing so you can re-add that? You can find that In the KP settings under the specific country you are using.

    Thread Starter paolurso

    (@paolurso)

    Hi there, it seems it’s missing the Client ID from settings…all is ok now..thank you!

    Plugin Support Andreas – Krokedil

    (@boozebrorsan)

    @paolurso Perfect!

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