• Resolved turtl96

    (@turtl96)


    Hello Klarna team,

    I’m developing the online shop for a friend of mine.

    I have the problem that I can’t complete any order with the klarna payment option, because im stuck on the checkout page.

    It’s always the same error in console:

    blob:https://klarna-payments-eu.playground.klarna.com/c17e5e1e-f857-4068-aa5a-506b4685a246:16 WebSocket connection to ‘wss://127.0.0.1:5939/’ failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED

    And when I click on the link the error it shows me the following:

    var tmx = tmx || {}; //namespace
    self.MESSAGE = "message";
    self.OPEN = "open";
    self.ERROR = "error";
    self.CLOSE = "close";
    self.INTERVAL = "_interval";
    self.SOCKET = "wss://127.0.0.1:";
    self.DATA = "DATA";
    self.TIMEEXCEEDED = " - time exceeded";
    self.SEP = " : ";
    
    self.pstMsg=null;self.isDone=false;
    self.PortTestTimeOut=null;self.testPort=null;self.localStartTime=null;self.localWs=null;self.logFunc=null;self.addEventListener(self.MESSAGE,function(td_DQ){self.testPort=td_DQ.data[0];self.PortTestTimeOut=td_DQ.data[1];
    td_ZZ(td_DQ.data[0],td_DQ.data[1]);});var td_JI=function(td_Uv){postMessage([self.OPEN,self.testPort]);};var td_oy=function(td_lr){var td_Xs=td_o()-self.localStartTime;postMessage([self.ERROR,self.testPort+self.INTERVAL,td_Xs]);
    };var td_qq=function(td_uf){var td_wl=td_o()-self.localStartTime;postMessage([self.CLOSE,self.testPort+self.INTERVAL,td_wl]);};function td_ZZ(){tmx.debug(self.testPort+self.SEP+self.PortTestTimeOut);
    try{self.localWs=new WebSocket(self.SOCKET+self.testPort);self.localWs.onopen=td_JI;self.localWs.onerror=td_oy;self.localWs.onclose=td_qq;self.localStartTime=td_o();setTimeout(td_Fr,5);}catch(td_gt){tmx.debug(self.ERROR+self.SEP+td_gt.message);
    }}function td_Fr(){var td_WC=td_o()-self.localStartTime;if(self.localWs.readyState===0){if(td_WC>self.PortTestTimeOut){tmx.debug(self.testPort+self.TIMEEXCEEDED);postMessage([self.DATA,self.testPort+self.INTERVAL,self.PortTestTimeOut]);
    td_Kh();}else{setTimeout(function(){td_Fr();},10);}}else{postMessage([self.DATA,self.testPort+self.INTERVAL,td_WC]);td_Kh();}}function td_Kh(){self.isDone=true;if(self.localWs!==null){self.localWs.close();
    self.localWs=null;}}
    tmx.debug = function(){}
    
    tmx.trace = function(){}
    
    function td_o(){return Date.now();}

    Right now the Klarna plugin is in the testing mode.

    And here are the specs for the shop:

    Wordpress 5.2.1
    Woocommerce 3.6.4
    Woocommerce germanized pro 1.10.0
    Klarna Payments for WooCommerce 1.6.4

    • This topic was modified 5 years, 9 months ago by turtl96.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kristi at Klarna

    (@klarna)

    Hi @turtl96,
    The multi-step Germanized checkout does is not compatible with the Klarna Payments plugin since the multi-step Germanized checkout is using the Woo submit button on the checkout form, which is not following standard Woo architecture. Can you test without the multi-step checkout?

    Thread Starter turtl96

    (@turtl96)

    Hi @klarna,

    I tested it without the multi step checkout and it still doesn’t work.
    I get the same error after clicking on the buy now button.

    Could you look into it?

    If you need anything just tell me. ??

    Best regards!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stuck on the checkout page’ is closed to new replies.