• Resolved kawo83

    (@kawo83)


    Hello,

    Klarna is not working, the iframe is showing up showing 2 times “pay in 14 days”, klarna sofort is showing this payment method is not available.

    Sessions are successfully created in the klarna backend logs

    in console, there are tons of this websocket error that probably are the problem why its not working?

    WebSocket connection to 'wss://127.0.0.1:5931/' failed: WebSocket is closed before the connection is established.
    td_n9 @ blob:https://klarna-…61a-3b8865642a81:18
    td_El @ blob:https://klarna-…61a-3b8865642a81:17
    (anonymous) @ blob:https://klarna-…61a-3b8865642a81:17
    ? WebSocket connection to 'wss://127.0.0.1:5950/' failed: WebSocket is closed before the connection is established.
    td_n9 @ blob:https://klarna-…be6-14170f50cbed:18
    td_El @ blob:https://klarna-…be6-14170f50cbed:17
    (anonymous) @ blob:https://klarna-…be6-14170f50cbed:17
    ? WebSocket connection to 'wss://127.0.0.1:3389/' failed: WebSocket is closed before the connection is established.
    td_n9 @ blob:https://klarna-…fed-4a57b580c2c1:18
    td_El @ blob:https://klarna-…fed-4a57b580c2c1:17
    (anonymous) @ blob:https://klarna-…fed-4a57b580c2c1:17
    ? WebSocket connection to 'wss://127.0.0.1:5939/' failed: WebSocket is closed before the connection is established.

    How can I solve this? Cloudflare reports no blocking error, my webserver also shows no problems blocking something all seems ok, all other payment gateways working

Viewing 6 replies - 1 through 6 (of 6 total)
  • I was in frequent contact with Klarna Support to discuss exactly the same problem. In the end, I have been told that this is a SSL certificate related problem, meaning that they simply do not accept self-signed certificates like Let’s Encrypt. They referred to this article as a “solution”: https://kinsta.com/knowledgebase/neterr-cert-authority-invalid/

    Sad but true.

    Maybe it’s the same thing with your shop.

    Thread Starter kawo83

    (@kawo83)

    How to Fix the NET::ERR_CERT_AUTHORITY_INVALID Error

    I don’t have this error I think. My Cert is signed for the domain, no self signed.

    Plugin Support montazar

    (@montazaraj)

    Hello @kawo83 ,

    We have seen things like Cloudflare or security plugins block some signals that we are dependent on. As a test could you try to disable any of these that you might have temporarily. If that solves the issue you might need to look at whitelisting some of the IPs that our partners are using.

    Thread Starter kawo83

    (@kawo83)

    Hello,

    it is not related to cloudflare, any cloudflare security is disabled on cart / checkout to prevent problems. also on top of the websocket errors, I get this message:

    Fehler beim Bezahlvorgang. Versuche es bitte nochmal.

    there is no additional error on this in console, in ajax response, in php or apache logs.

    It is not template related (same in default template of wordpress)

    Thread Starter kawo83

    (@kawo83)

    Ok, on my development system I got it to work.

    The problem is caused by following plugin: PayPal Plus (the one by angelleye)

    once deactivated, it works. How to fix this now? PayPal Plus is mandatory for me so I can’t just go without it.

    Plugin Support montazar

    (@montazaraj)

    We have not tested PayPal Plus but we do have support for the PayPal payment method, PayPal Standard, that is included in WooCommerce. I’ll discuss this issue with our developers and get back to you once I have more information.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Websocket error’ is closed to new replies.