Guest User

Untitled

a guest
Jan 29th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.39 KB | None | 0 0
  1. Response (201):
  2. strict-transport-security: max-age=31536000; includeSubDomains
  3. server: MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained)
  4. render-time: 5
  5. pragma: no-cache
  6. location: https://checkout.testdrive.klarna.com/checkout/orders/4ZHDPIAQCU1ABF5HY5LPBXECKMR
  7. klarna-correlation-id: c482c75a-a8cd-48bd-892a-daf131b57853
  8. date: Tue, 29 Jan 2019 06:51:22 GMT
  9. content-type: application/vnd.klarna.checkout.aggregated-order-v2+json
  10. content-length: 0
  11. connection: keep-alive
  12. cache-control: max-age=0, no-cache, no-store
  13.  
  14. 2019-01-29T06:51:22+00:00 DEBUG (7): Request:
  15. GET https://checkout.testdrive.klarna.com/checkout/orders/4ZHDPIAQCU1ABF5HY5LPBXECKMR
  16. User-Agent: Library/Klarna.ApiWrapper_4.0.0 OS/Linux_3.16.0-4-amd64 Language/PHP_7.0.25-1 Magento/Community_1.9.3.9 KcoModule/core_1.4.3 KredModule/addon_1.0.11
  17. Authorization: Klarna TbJ8v9Le1y6xlojAZo4fFFn2kzmXA11MbKcJwMG/AUA=
  18. Accept: application/vnd.klarna.checkout.aggregated-order-v2+json
  19. Response (200):
  20. strict-transport-security: max-age=31536000; includeSubDomains
  21. server: MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained)
  22. render-time: 3
  23. pragma: no-cache
  24. klarna-correlation-id: 6d4da7f8-2c18-454f-9e49-b6ec261fbcaa
  25. date: Tue, 29 Jan 2019 06:51:22 GMT
  26. content-type: application/vnd.klarna.checkout.aggregated-order-v2+json; charset=utf-8
  27. content-length: 6397
  28. connection: keep-alive
  29. cache-control: max-age=0, no-cache, no-store
  30.  
  31. {
  32. "id": "4ZHDPIAQCU1ABF5HY5LPBXECKMR",
  33. "purchase_country": "no",
  34. "purchase_currency": "nok",
  35. "locale": "nb-no",
  36. "status": "checkout_incomplete",
  37. "cart": {
  38. "items": [
  39. {
  40. "type": "physical",
  41. "discount_rate": 0,
  42. "name": "D\u00e4ck Schwalbe Land Cruiser K-Guard SBC 47-507 (24 x 1.75\") svart",
  43. "quantity": 1,
  44. "reference": "CK1104860",
  45. "tax_rate": 0,
  46. "unit_price": 8720,
  47. "total_price_including_tax": 8720,
  48. "total_tax_amount": 0,
  49. "total_price_excluding_tax": 8720
  50. },
  51. {
  52. "type": "physical",
  53. "discount_rate": 0,
  54. "name": "D\u00e4ck Schwalbe Land Cruiser K-Guard SBC 50-507 (24 x 2.00\") svart",
  55. "quantity": 1,
  56. "reference": "CK1104889",
  57. "tax_rate": 0,
  58. "unit_price": 10320,
  59. "total_price_including_tax": 10320,
  60. "total_tax_amount": 0,
  61. "total_price_excluding_tax": 10320
  62. },
  63. {
  64. "type": "shipping_fee",
  65. "discount_rate": 0,
  66. "name": "Frakt og ekspedisjon (H\u00e4mta hos ombud)",
  67. "quantity": 1,
  68. "reference": "shipping",
  69. "tax_rate": 2500,
  70. "unit_price": 5520,
  71. "total_price_including_tax": 5520,
  72. "total_tax_amount": 1104,
  73. "total_price_excluding_tax": 4416
  74. }
  75. ],
  76. "total_price_excluding_tax": 23456,
  77. "total_price_including_tax": 24560,
  78. "total_tax_amount": 1104
  79. },
  80. "customer": {
  81. "type": "person"
  82. },
  83. "gui": {
  84. "options": [
  85. "disable_autofocus"
  86. ],
  87. "layout": "desktop",
  88. "snippet": "\<div id=\"klarna-checkout-container\" style=\"overflow-x: hidden;\">\n \<div id=\"klarna-unsupported-page\">\n \<style type=\"text\/css\">\n @-webkit-keyframes klarnaFadeIn{from{opacity:0}to{opacity:1}}@-moz-keyframes klarnaFadeIn{from{opacity:0}to{opacity:1}}@keyframes klarnaFadeIn{from{opacity:0}to{opacity:1}}#klarna-unsupported-page{opacity:0;opacity:1\\9;-webkit-animation:klarnaFadeIn ease-in 1;-moz-animation:klarnaFadeIn ease-in 1;animation:klarnaFadeIn ease-in 1;-webkit-animation-fill-mode:forwards;-moz-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-duration:.1s;-moz-animation-duration:.1s;animation-duration:.1s;-webkit-animation-delay:5s;-moz-animation-delay:5s;animation-delay:5s;text-align:center;padding-top:64px}#klarna-unsupported-page .heading{font-family:Source Sans Pro,Helvetica,Arial,sans-serif;line-height:48px;font-weight:200;color:#303030;font-size:42px;margin:24px 0}#klarna-unsupported-page .subheading{font-family:Source Sans Pro,Helvetica,Arial,sans-serif;line-height:28px;font-weight:400;color:rgba(0,0,0,.7);font-size:19px;max-width:560px;margin:10px auto}#klarna-unsupported-page .subheading a{text-decoration:none;background-color:transparent;border:0;color:rgba(0,0,0,.7);font-weight:600}\n \<\/style>\n \<h1 class=\"heading\">Oops.\<\/h1>\n \<p class=\"subheading\">It seems you might be using an older web browser which is not safe nor compatible with modern web sites. For a smoother checkout experience, please install a \<a href=\"http:\/\/outdatedbrowser.com\/en\" target=\"_blank\">newer browser\<\/a>.\<\/p>\n \<p class=\"subheading\">Sorry for any inconvenience. For any questions, please contact customer service at \<a href=\"https:\/\/www.klarna.com\">Klarna.com\<\/a>.\<\/p>\n \<\/div>\n \<script type=\"text\/javascript\">\n \/* \<![CDATA[ *\/\n (function(w,k,i,d,n,c,l){\n w[k]=w[k]||function(){(w[k].q=w[k].q||[]).push(arguments)};\n l=w[k].config={\n container:w.document.getElementById(i),\n ORDER_URL:'https:\/\/checkout-eu.playground.klarna.com\/yaco\/orders\/4ZHDPIAQCU1ABF5HY5LPBXECKMR',\n AUTH_HEADER:'KlarnaCheckout sklj3xbi1o44x4z1l18b',\n LAYOUT:'desktop',\n LOCALE:'nb-NO',\n ORDER_STATUS:'checkout_incomplete',\n MERCHANT_TAC_URI:'http:\/\/www.cykelkraft.se\/kop\/villkor',\n MERCHANT_TAC_TITLE:'Cykelkraft',\n MERCHANT_NAME:'Cykelkraft',\n MERCHANT_COLOR:'',\n GUI_OPTIONS:['disable_autofocus'],\n ALLOW_SEPARATE_SHIPPING_ADDRESS:false,\n NATIONAL_IDENTIFICATION_NUMBER_MANDATORY:false,\n ANALYTICS:'',\n TESTDRIVE:true,\n PHONE_MANDATORY:true,\n PURCHASE_COUNTRY:'nor',\n PURCHASE_CURRENCY:'nok',\n PACKSTATION_ENABLED:false,\n PREFILLED:false,\n BOOTSTRAP_SRC:'https:\/\/a.klarnacdn.net\/kcoc\/190123-8017a30\/checkout.bootstrap.js',\n CLIENT_EVENT_HOST:'https:\/\/evt.playground.klarna.com'\n };\n n=d.createElement('script');\n c=d.getElementById(i);\n n.async=!0;\n n.src=l.BOOTSTRAP_SRC;\n c.appendChild(n);\n try{\n ((w.Image && (new w.Image))||(d.createElement && d.createElement('img'))||{}).src =\n l.CLIENT_EVENT_HOST + '\/v1\/checkout\/snippet\/load' +\n '\?sid=' + l.ORDER_URL.split('\/').slice(-1) +\n '&order_status=' + w.encodeURIComponent(l.ORDER_STATUS) +\n '&timestamp=' + (new Date).getTime();\n }catch(e){}\n })(this,'_klarnaCheckout','klarna-checkout-container',document);\n \/* ]]> *\/\n \<\/script>\n \<noscript>\nPlease \<a href=\"http:\/\/enable-javascript.com\">enable JavaScript\<\/a>.\n \<\/noscript>\n\<\/div>"
  89. },
  90. "merchant": {
  91. "terms_uri": "http:\/\/www.cykelkraft.se\/kop\/villkor",
  92. "checkout_uri": "https:\/\/www.cykelkraft.no\/checkout\/klarna\/",
  93. "confirmation_uri": "https:\/\/www.cykelkraft.no\/checkout\/klarna\/confirmation\/id\/4ZHDPIAQCU1ABF5HY5LPBXECKMR\/",
  94. "push_uri": "https:\/\/www.cykelkraft.no\/kco\/api\/push\/id\/4ZHDPIAQCU1ABF5HY5LPBXECKMR\/",
  95. "validation_uri": "https:\/\/www.cykelkraft.no\/kco\/api\/validate\/id\/4ZHDPIAQCU1ABF5HY5LPBXECKMR\/",
  96. "id": "42565"
  97. },
  98. "options": {
  99. "allow_separate_shipping_address": false,
  100. "additional_checkbox": {
  101. "text": "Jag vill ta del av exklusiva erbjudanden och kampanjer",
  102. "checked": true,
  103. "required": false
  104. },
  105. "additional_merchant_terms": "Detta innefattar \u00e4ven ett godk\u00e4nnande till v\u00e5r personuppgiftsbehandling och integritetspolicy hos Cykelkraft AB. Se vidare p\u00e5 \<a href=\"http:\/\/www.cykelkraft.no\/integritetspolicy\/\" target=\"_blank\">Cykelkraft.no\/integritetspolicy\<\/a>.",
  106. "phone_mandatory": true,
  107. "allowed_customer_types": [
  108. "person"
  109. ]
  110. },
  111. "billing_address": {
  112. "country": "no"
  113. },
  114. "shipping_address": {
  115. "country": "no"
  116. },
  117. "external_payment_methods": [],
  118. "external_checkouts": [],
  119. "started_at": "2019-01-29T06:51:22Z",
  120. "last_modified_at": "2019-01-29T06:51:22Z"
  121. }
  122.  
  123.  
  124. 2019-01-29T06:52:28+00:00 DEBUG (7): Request:
  125. GET https://checkout.testdrive.klarna.com/checkout/orders/4ZHDPIAQCU1ABF5HY5LPBXECKMR
  126. User-Agent: Library/Klarna.ApiWrapper_4.0.0 OS/Linux_3.16.0-4-amd64 Language/PHP_7.0.25-1 Magento/Community_1.9.3.9 KcoModule/core_1.4.3 KredModule/addon_1.0.11
  127. Authorization: Klarna TbJ8v9Le1y6xlojAZo4fFFn2kzmXA11MbKcJwMG/AUA=
  128. Accept: application/vnd.klarna.checkout.aggregated-order-v2+json
  129. Response (200):
  130. strict-transport-security: max-age=31536000; includeSubDomains
  131. server: MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained)
  132. render-time: 190
  133. pragma: no-cache
  134. klarna-correlation-id: 6b1f60d2-3e25-4549-8215-91bc573a4985
  135. date: Tue, 29 Jan 2019 06:52:28 GMT
  136. content-type: application/vnd.klarna.checkout.aggregated-order-v2+json; charset=utf-8
  137. content-length: 7053
  138. connection: keep-alive
  139. cache-control: max-age=0, no-cache, no-store
  140.  
  141. {
  142. "id": "4ZHDPIAQCU1ABF5HY5LPBXECKMR",
  143. "purchase_country": "no",
  144. "purchase_currency": "nok",
  145. "locale": "nb-no",
  146. "status": "checkout_complete",
  147. "cart": {
  148. "items": [
  149. {
  150. "type": "physical",
  151. "discount_rate": 0,
  152. "name": "D\u00e4ck Schwalbe Land Cruiser K-Guard SBC 47-507 (24 x 1.75\") svart",
  153. "quantity": 1,
  154. "reference": "CK1104860",
  155. "tax_rate": 0,
  156. "unit_price": 8720,
  157. "total_price_including_tax": 8720,
  158. "total_tax_amount": 0,
  159. "total_price_excluding_tax": 8720
  160. },
  161. {
  162. "type": "physical",
  163. "discount_rate": 0,
  164. "name": "D\u00e4ck Schwalbe Land Cruiser K-Guard SBC 50-507 (24 x 2.00\") svart",
  165. "quantity": 1,
  166. "reference": "CK1104889",
  167. "tax_rate": 0,
  168. "unit_price": 10320,
  169. "total_price_including_tax": 10320,
  170. "total_tax_amount": 0,
  171. "total_price_excluding_tax": 10320
  172. },
  173. {
  174. "type": "shipping_fee",
  175. "discount_rate": 0,
  176. "name": "Frakt og ekspedisjon (H\u00e4mta hos ombud)",
  177. "quantity": 1,
  178. "reference": "shipping",
  179. "tax_rate": 2500,
  180. "unit_price": 5520,
  181. "total_price_including_tax": 5520,
  182. "total_tax_amount": 1104,
  183. "total_price_excluding_tax": 4416
  184. }
  185. ],
  186. "total_price_excluding_tax": 23456,
  187. "total_price_including_tax": 24560,
  188. "total_tax_amount": 1104
  189. },
  190. "customer": {
  191. "date_of_birth": "1970-08-01",
  192. "gender": "male",
  193. "type": "person"
  194. },
  195. "gui": {
  196. "options": [
  197. "disable_autofocus"
  198. ],
  199. "layout": "desktop",
  200. "snippet": "\<div id=\"klarna-checkout-container\" style=\"overflow-x: hidden;\">\n \<div id=\"klarna-unsupported-page\">\n \<style type=\"text\/css\">\n @-webkit-keyframes klarnaFadeIn{from{opacity:0}to{opacity:1}}@-moz-keyframes klarnaFadeIn{from{opacity:0}to{opacity:1}}@keyframes klarnaFadeIn{from{opacity:0}to{opacity:1}}#klarna-unsupported-page{opacity:0;opacity:1\\9;-webkit-animation:klarnaFadeIn ease-in 1;-moz-animation:klarnaFadeIn ease-in 1;animation:klarnaFadeIn ease-in 1;-webkit-animation-fill-mode:forwards;-moz-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-duration:.1s;-moz-animation-duration:.1s;animation-duration:.1s;-webkit-animation-delay:5s;-moz-animation-delay:5s;animation-delay:5s;text-align:center;padding-top:64px}#klarna-unsupported-page .heading{font-family:Source Sans Pro,Helvetica,Arial,sans-serif;line-height:48px;font-weight:200;color:#303030;font-size:42px;margin:24px 0}#klarna-unsupported-page .subheading{font-family:Source Sans Pro,Helvetica,Arial,sans-serif;line-height:28px;font-weight:400;color:rgba(0,0,0,.7);font-size:19px;max-width:560px;margin:10px auto}#klarna-unsupported-page .subheading a{text-decoration:none;background-color:transparent;border:0;color:rgba(0,0,0,.7);font-weight:600}\n \<\/style>\n \<h1 class=\"heading\">Oops.\<\/h1>\n \<p class=\"subheading\">It seems you might be using an older web browser which is not safe nor compatible with modern web sites. For a smoother checkout experience, please install a \<a href=\"http:\/\/outdatedbrowser.com\/en\" target=\"_blank\">newer browser\<\/a>.\<\/p>\n \<p class=\"subheading\">Sorry for any inconvenience. For any questions, please contact customer service at \<a href=\"https:\/\/www.klarna.com\">Klarna.com\<\/a>.\<\/p>\n \<\/div>\n \<script type=\"text\/javascript\">\n \/* \<![CDATA[ *\/\n (function(w,k,i,d,n,c,l){\n w[k]=w[k]||function(){(w[k].q=w[k].q||[]).push(arguments)};\n l=w[k].config={\n container:w.document.getElementById(i),\n ORDER_URL:'https:\/\/checkout-eu.playground.klarna.com\/yaco\/orders\/4ZHDPIAQCU1ABF5HY5LPBXECKMR',\n AUTH_HEADER:'KlarnaCheckout sklj3xbi1o44x4z1l18b',\n LAYOUT:'desktop',\n LOCALE:'nb-no',\n ORDER_STATUS:'checkout_complete',\n MERCHANT_TAC_URI:'http:\/\/www.cykelkraft.se\/kop\/villkor',\n MERCHANT_TAC_TITLE:'Cykelkraft',\n MERCHANT_NAME:'Cykelkraft',\n MERCHANT_COLOR:'',\n GUI_OPTIONS:['disable_autofocus'],\n ALLOW_SEPARATE_SHIPPING_ADDRESS:false,\n NATIONAL_IDENTIFICATION_NUMBER_MANDATORY:false,\n ANALYTICS:'',\n TESTDRIVE:true,\n PHONE_MANDATORY:false,\n PURCHASE_COUNTRY:'NOR',\n PURCHASE_CURRENCY:'nok',\n PACKSTATION_ENABLED:false,\n PREFILLED:false,\n BOOTSTRAP_SRC:'https:\/\/a.klarnacdn.net\/kcoc\/190123-8017a30\/checkout.bootstrap.js',\n CLIENT_EVENT_HOST:'https:\/\/evt.playground.klarna.com'\n };\n n=d.createElement('script');\n c=d.getElementById(i);\n n.async=!0;\n n.src=l.BOOTSTRAP_SRC;\n c.appendChild(n);\n try{\n ((w.Image && (new w.Image))||(d.createElement && d.createElement('img'))||{}).src =\n l.CLIENT_EVENT_HOST + '\/v1\/checkout\/snippet\/load' +\n '\?sid=' + l.ORDER_URL.split('\/').slice(-1) +\n '&order_status=' + w.encodeURIComponent(l.ORDER_STATUS) +\n '&timestamp=' + (new Date).getTime();\n }catch(e){}\n })(this,'_klarnaCheckout','klarna-checkout-container',document);\n \/* ]]> *\/\n \<\/script>\n \<noscript>\nPlease \<a href=\"http:\/\/enable-javascript.com\">enable JavaScript\<\/a>.\n \<\/noscript>\n\<\/div>"
  201. },
  202. "merchant": {
  203. "terms_uri": "http:\/\/www.cykelkraft.se\/kop\/villkor",
  204. "checkout_uri": "https:\/\/www.cykelkraft.no\/checkout\/klarna\/",
  205. "confirmation_uri": "https:\/\/www.cykelkraft.no\/checkout\/klarna\/confirmation\/id\/4ZHDPIAQCU1ABF5HY5LPBXECKMR\/",
  206. "push_uri": "https:\/\/www.cykelkraft.no\/kco\/api\/push\/id\/4ZHDPIAQCU1ABF5HY5LPBXECKMR\/",
  207. "validation_uri": "https:\/\/www.cykelkraft.no\/kco\/api\/validate\/id\/4ZHDPIAQCU1ABF5HY5LPBXECKMR\/",
  208. "id": "42565"
  209. },
  210. "options": {
  211. "allow_separate_shipping_address": false,
  212. "additional_checkbox": {
  213. "text": "Jag vill ta del av exklusiva erbjudanden och kampanjer",
  214. "checked": true,
  215. "required": false
  216. },
  217. "additional_merchant_terms": "Detta innefattar \u00e4ven ett godk\u00e4nnande till v\u00e5r personuppgiftsbehandling och integritetspolicy hos Cykelkraft AB. Se vidare p\u00e5 \<a href=\"http:\/\/www.cykelkraft.no\/integritetspolicy\/\" target=\"_blank\">Cykelkraft.no\/integritetspolicy\<\/a>.",
  218. "phone_mandatory": true
  219. },
  220. "billing_address": {
  221. "given_name": "Lars",
  222. "family_name": "Nording",
  223. "email": "mattias.nording+skickahit@gmail.com",
  224. "street_address": "awdawdadwd",
  225. "postal_code": "5553",
  226. "city": "oslo",
  227. "phone": "401 23 456",
  228. "country": "no"
  229. },
  230. "shipping_address": {
  231. "given_name": "Lars",
  232. "family_name": "Nording",
  233. "email": "mattias.nording+skickahit@gmail.com",
  234. "street_address": "awdawdadwd",
  235. "postal_code": "5553",
  236. "city": "oslo",
  237. "phone": "401 23 456",
  238. "country": "no"
  239. },
  240. "reservation": "1144614801",
  241. "merchant_requested": {
  242. "additional_checkbox": false
  243. },
  244. "expires_at": "2019-02-12T06:52:27Z",
  245. "reference": "4ZHDPIAQCU1ABF5HY5LPBXECKMR",
  246. "started_at": "2019-01-29T06:51:22Z",
  247. "completed_at": "2019-01-29T06:52:27Z",
  248. "last_modified_at": "2019-01-29T06:51:22Z",
  249. "cart_update_allowed": true
  250. }
  251.  
  252.  
  253. 2019-01-29T06:52:29+00:00 DEBUG (7): Request:
  254. GET https://checkout.testdrive.klarna.com/checkout/orders/4ZHDPIAQCU1ABF5HY5LPBXECKMR
  255. User-Agent: Library/Klarna.ApiWrapper_4.0.0 OS/Linux_3.16.0-4-amd64 Language/PHP_7.0.25-1 Magento/Community_1.9.3.9 KcoModule/core_1.4.3 KredModule/addon_1.0.11
  256. Authorization: Klarna TbJ8v9Le1y6xlojAZo4fFFn2kzmXA11MbKcJwMG/AUA=
  257. Accept: application/vnd.klarna.checkout.aggregated-order-v2+json
  258. Response (200):
  259. strict-transport-security: max-age=31536000; includeSubDomains
  260. server: MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained)
  261. render-time: 177
  262. pragma: no-cache
  263. klarna-correlation-id: 79f56444-6a74-4bcf-b138-2fe5ad167c70
  264. date: Tue, 29 Jan 2019 06:52:29 GMT
  265. content-type: application/vnd.klarna.checkout.aggregated-order-v2+json; charset=utf-8
  266. content-length: 7053
  267. connection: keep-alive
  268. cache-control: max-age=0, no-cache, no-store
  269.  
  270. {
  271. "id": "4ZHDPIAQCU1ABF5HY5LPBXECKMR",
  272. "purchase_country": "no",
  273. "purchase_currency": "nok",
  274. "locale": "nb-no",
  275. "status": "checkout_complete",
  276. "cart": {
  277. "items": [
  278. {
  279. "type": "physical",
  280. "discount_rate": 0,
  281. "name": "D\u00e4ck Schwalbe Land Cruiser K-Guard SBC 47-507 (24 x 1.75\") svart",
  282. "quantity": 1,
  283. "reference": "CK1104860",
  284. "tax_rate": 0,
  285. "unit_price": 8720,
  286. "total_price_including_tax": 8720,
  287. "total_tax_amount": 0,
  288. "total_price_excluding_tax": 8720
  289. },
  290. {
  291. "type": "physical",
  292. "discount_rate": 0,
  293. "name": "D\u00e4ck Schwalbe Land Cruiser K-Guard SBC 50-507 (24 x 2.00\") svart",
  294. "quantity": 1,
  295. "reference": "CK1104889",
  296. "tax_rate": 0,
  297. "unit_price": 10320,
  298. "total_price_including_tax": 10320,
  299. "total_tax_amount": 0,
  300. "total_price_excluding_tax": 10320
  301. },
  302. {
  303. "type": "shipping_fee",
  304. "discount_rate": 0,
  305. "name": "Frakt og ekspedisjon (H\u00e4mta hos ombud)",
  306. "quantity": 1,
  307. "reference": "shipping",
  308. "tax_rate": 2500,
  309. "unit_price": 5520,
  310. "total_price_including_tax": 5520,
  311. "total_tax_amount": 1104,
  312. "total_price_excluding_tax": 4416
  313. }
  314. ],
  315. "total_price_excluding_tax": 23456,
  316. "total_price_including_tax": 24560,
  317. "total_tax_amount": 1104
  318. },
  319. "customer": {
  320. "date_of_birth": "1970-08-01",
  321. "gender": "male",
  322. "type": "person"
  323. },
  324. "gui": {
  325. "options": [
  326. "disable_autofocus"
  327. ],
  328. "layout": "desktop",
  329. "snippet": "\<div id=\"klarna-checkout-container\" style=\"overflow-x: hidden;\">\n \<div id=\"klarna-unsupported-page\">\n \<style type=\"text\/css\">\n @-webkit-keyframes klarnaFadeIn{from{opacity:0}to{opacity:1}}@-moz-keyframes klarnaFadeIn{from{opacity:0}to{opacity:1}}@keyframes klarnaFadeIn{from{opacity:0}to{opacity:1}}#klarna-unsupported-page{opacity:0;opacity:1\\9;-webkit-animation:klarnaFadeIn ease-in 1;-moz-animation:klarnaFadeIn ease-in 1;animation:klarnaFadeIn ease-in 1;-webkit-animation-fill-mode:forwards;-moz-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-duration:.1s;-moz-animation-duration:.1s;animation-duration:.1s;-webkit-animation-delay:5s;-moz-animation-delay:5s;animation-delay:5s;text-align:center;padding-top:64px}#klarna-unsupported-page .heading{font-family:Source Sans Pro,Helvetica,Arial,sans-serif;line-height:48px;font-weight:200;color:#303030;font-size:42px;margin:24px 0}#klarna-unsupported-page .subheading{font-family:Source Sans Pro,Helvetica,Arial,sans-serif;line-height:28px;font-weight:400;color:rgba(0,0,0,.7);font-size:19px;max-width:560px;margin:10px auto}#klarna-unsupported-page .subheading a{text-decoration:none;background-color:transparent;border:0;color:rgba(0,0,0,.7);font-weight:600}\n \<\/style>\n \<h1 class=\"heading\">Oops.\<\/h1>\n \<p class=\"subheading\">It seems you might be using an older web browser which is not safe nor compatible with modern web sites. For a smoother checkout experience, please install a \<a href=\"http:\/\/outdatedbrowser.com\/en\" target=\"_blank\">newer browser\<\/a>.\<\/p>\n \<p class=\"subheading\">Sorry for any inconvenience. For any questions, please contact customer service at \<a href=\"https:\/\/www.klarna.com\">Klarna.com\<\/a>.\<\/p>\n \<\/div>\n \<script type=\"text\/javascript\">\n \/* \<![CDATA[ *\/\n (function(w,k,i,d,n,c,l){\n w[k]=w[k]||function(){(w[k].q=w[k].q||[]).push(arguments)};\n l=w[k].config={\n container:w.document.getElementById(i),\n ORDER_URL:'https:\/\/checkout-eu.playground.klarna.com\/yaco\/orders\/4ZHDPIAQCU1ABF5HY5LPBXECKMR',\n AUTH_HEADER:'KlarnaCheckout sklj3xbi1o44x4z1l18b',\n LAYOUT:'desktop',\n LOCALE:'nb-no',\n ORDER_STATUS:'checkout_complete',\n MERCHANT_TAC_URI:'http:\/\/www.cykelkraft.se\/kop\/villkor',\n MERCHANT_TAC_TITLE:'Cykelkraft',\n MERCHANT_NAME:'Cykelkraft',\n MERCHANT_COLOR:'',\n GUI_OPTIONS:['disable_autofocus'],\n ALLOW_SEPARATE_SHIPPING_ADDRESS:false,\n NATIONAL_IDENTIFICATION_NUMBER_MANDATORY:false,\n ANALYTICS:'',\n TESTDRIVE:true,\n PHONE_MANDATORY:false,\n PURCHASE_COUNTRY:'NOR',\n PURCHASE_CURRENCY:'nok',\n PACKSTATION_ENABLED:false,\n PREFILLED:false,\n BOOTSTRAP_SRC:'https:\/\/a.klarnacdn.net\/kcoc\/190123-8017a30\/checkout.bootstrap.js',\n CLIENT_EVENT_HOST:'https:\/\/evt.playground.klarna.com'\n };\n n=d.createElement('script');\n c=d.getElementById(i);\n n.async=!0;\n n.src=l.BOOTSTRAP_SRC;\n c.appendChild(n);\n try{\n ((w.Image && (new w.Image))||(d.createElement && d.createElement('img'))||{}).src =\n l.CLIENT_EVENT_HOST + '\/v1\/checkout\/snippet\/load' +\n '\?sid=' + l.ORDER_URL.split('\/').slice(-1) +\n '&order_status=' + w.encodeURIComponent(l.ORDER_STATUS) +\n '&timestamp=' + (new Date).getTime();\n }catch(e){}\n })(this,'_klarnaCheckout','klarna-checkout-container',document);\n \/* ]]> *\/\n \<\/script>\n \<noscript>\nPlease \<a href=\"http:\/\/enable-javascript.com\">enable JavaScript\<\/a>.\n \<\/noscript>\n\<\/div>"
  330. },
  331. "merchant": {
  332. "terms_uri": "http:\/\/www.cykelkraft.se\/kop\/villkor",
  333. "checkout_uri": "https:\/\/www.cykelkraft.no\/checkout\/klarna\/",
  334. "confirmation_uri": "https:\/\/www.cykelkraft.no\/checkout\/klarna\/confirmation\/id\/4ZHDPIAQCU1ABF5HY5LPBXECKMR\/",
  335. "push_uri": "https:\/\/www.cykelkraft.no\/kco\/api\/push\/id\/4ZHDPIAQCU1ABF5HY5LPBXECKMR\/",
  336. "validation_uri": "https:\/\/www.cykelkraft.no\/kco\/api\/validate\/id\/4ZHDPIAQCU1ABF5HY5LPBXECKMR\/",
  337. "id": "42565"
  338. },
  339. "options": {
  340. "allow_separate_shipping_address": false,
  341. "additional_checkbox": {
  342. "text": "Jag vill ta del av exklusiva erbjudanden och kampanjer",
  343. "checked": true,
  344. "required": false
  345. },
  346. "additional_merchant_terms": "Detta innefattar \u00e4ven ett godk\u00e4nnande till v\u00e5r personuppgiftsbehandling och integritetspolicy hos Cykelkraft AB. Se vidare p\u00e5 \<a href=\"http:\/\/www.cykelkraft.no\/integritetspolicy\/\" target=\"_blank\">Cykelkraft.no\/integritetspolicy\<\/a>.",
  347. "phone_mandatory": true
  348. },
  349. "billing_address": {
  350. "given_name": "Lars",
  351. "family_name": "Nording",
  352. "email": "mattias.nording+skickahit@gmail.com",
  353. "street_address": "awdawdadwd",
  354. "postal_code": "5553",
  355. "city": "oslo",
  356. "phone": "401 23 456",
  357. "country": "no"
  358. },
  359. "shipping_address": {
  360. "given_name": "Lars",
  361. "family_name": "Nording",
  362. "email": "mattias.nording+skickahit@gmail.com",
  363. "street_address": "awdawdadwd",
  364. "postal_code": "5553",
  365. "city": "oslo",
  366. "phone": "401 23 456",
  367. "country": "no"
  368. },
  369. "reservation": "1144614801",
  370. "merchant_requested": {
  371. "additional_checkbox": false
  372. },
  373. "expires_at": "2019-02-12T06:52:27Z",
  374. "reference": "4ZHDPIAQCU1ABF5HY5LPBXECKMR",
  375. "started_at": "2019-01-29T06:51:22Z",
  376. "completed_at": "2019-01-29T06:52:27Z",
  377. "last_modified_at": "2019-01-29T06:51:22Z",
  378. "cart_update_allowed": true
  379. }
Add Comment
Please, Sign In to add comment