pastebin

Untitled
  1.  
  2. <!DOCTYPE html>
  3.  
  4. <html lang="lv">
  5.  
  6. <head>
  7.     <meta charset="UTF-8">
  8.     <meta name="viewport" content="width=device-width, initial-scale=1">
  9.     <title>Cart</title>
  10.     <meta name="description" content="">
  11.     <meta name="subject" content="">
  12.     <meta name="theme-color" content="#612fc0">
  13.     <meta name="referrer" content="no-referrer">
  14.     <meta name="robots" content="noindex,nofollow">
  15.     <meta name="googlebot" content="noindex,nofollow">
  16.     <meta name="google" content="nositelinkssearchbox">
  17.     <meta name="google" content="notranslate">
  18.     <meta name="generator" content="notepad">
  19.     <meta name="format-detection" content="telephone=no">
  20.     <meta http-equiv="Content-Security-Policy" content="script-src http://shop.uat.klix.app:443 https://klix.blob.core.windows.net http://localhost:3344 &#39;unsafe-inline&#39; blob:; img-src http://shop.uat.klix.app:443 https://klix.blob.core.windows.net http://localhost:3344; style-src http://shop.uat.klix.app:443 https://klix.blob.core.windows.net http://localhost:3344 &#39;unsafe-inline&#39;; connect-src https://klix.blob.core.windows.net http://localhost:3344; frame-src https://klixprotected.blob.core.windows.net http://localhost:3333; default-src &#39;self&#39;">
  21.  
  22.     <link rel="stylesheet" href="/static/css/shopStyle.css">
  23.  
  24.     <script type="module" src="https://klix.blob.core.windows.net/uat/widget/build/klixwidget.esm.js"></script>
  25.     <script nomodule src="https://klix.blob.core.windows.net/uat/widget/build/klixwidget.js"></script>
  26. </head>
  27.  
  28. <body>
  29.  
  30. <div>
  31.    
  32.    
  33.     <div>
  34.         <h1>Payment Widget</h1>
  35.         <div class="merchant-body">
  36.             <div class="merchant-header">
  37.                 <ul>
  38.                     <li>About Us</li>
  39.                     <li>Products</li>
  40.                     <li>Contacts</li>
  41.                 </ul>
  42.             </div>
  43.             <div class="merchant-content">
  44.                 <div class="merchant-side-menu">
  45.                     <ul>
  46.                         <li>Category 1</li>
  47.                         <li>Category 2</li>
  48.                         <li>Category 3</li>
  49.                     </ul>
  50.                 </div>
  51.                 <div class="merchant-page">
  52.                     <klix-checkout
  53.                             widget-id="491fc1fe-98b2-4d32-9745-8fd60219ec30"
  54.                             language="lv"
  55.                             order="{
  56.  &quot;orderId&quot;: &quot;a8f34924-3abf-42f9-b34e-b80038657c5c&quot;,
  57.  &quot;items&quot;: [
  58.    {
  59.      &quot;amount&quot;: 5,
  60.      &quot;taxRate&quot;: 0,
  61.      &quot;currency&quot;: &quot;EUR&quot;,
  62.      &quot;label&quot;: &quot;Philips matu fēns XR3857&quot;
  63.    }
  64.  ]
  65. }"
  66.                             signature="L/mZ0JmCfTsKCxlXPmTkzSk+/7yZCSg6csFiYqQ7DqsGN/kCWfT63uIxWtAQKht0QH7ico1ypXNjGkDCWh14RGXyoSkCWTe+cCL7oH06BuqrqzMwpmGcjFyg5q392MjWNUiXvl8llKzTrgd6aCqXX15FItfOafZ2/aYp79Q8kl57f5EK1SqjOhxZCN7mxfFZUImTa0kNOnLhhZK0qge9cho/HyHX1UqS+VnWpBbGRkjDbKhijToJ/tgLndonOciJSLe7Op59/Fg8s1OHclfHOBT6BZivV6xi2F1WbQf8lsB4Lwz2O+tzJJaLeqNwSvL5G949eYPmlhsYGPncWYWLxg=="
  67.                     ></klix-checkout>
  68.                 </div>
  69.             </div>
  70.             <div class="merchant-footer">Copyright 2020</div>
  71.         </div>
  72.     </div>
  73. </div>
  74.  
  75. <script nonce="12345">
  76.     const checkoutElement = document.querySelector('klix-checkout');
  77.     checkoutElement.addEventListener('paymentCompleted', function() {
  78.         let message = 'Order with id ' + event.detail["orderId"] + ' payment succeeded -> ' + event.detail["paymentSucceeded"];
  79.         let orderDetailsLabel = document.createTextNode(message);
  80.         checkoutElement.parentElement.appendChild(orderDetailsLabel);
  81.     });
  82. </script>
  83.  
  84. <br/>
  85. <br/>
  86. </body>
  87.  
  88. </html>
  89.  
Parsed in 0.023 seconds