Stuck on the checkout page
-
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.4The page I need help with: [log in to see the link]
- The topic ‘Stuck on the checkout page’ is closed to new replies.