Advertisement
MarkUa

Untitled

Mar 27th, 2020
489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.94 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>Title</title>
  6. </head>
  7. <body>
  8.  
  9.   <div id="liqpay_checkout"></div>
  10.   <script>
  11.     window.LiqPayCheckoutCallback = function() {
  12.     LiqPayCheckout.init({
  13.         data: "eyAidmVyc2lvbiIgOiAzLCAicHVibGljX2tleSIgOiAieW91cl9wdWJsaWNfa2V5IiwgImFjdGlv" +
  14.         "biIgOiAicGF5IiwgImFtb3VudCIgOiAxLCAiY3VycmVuY3kiIDogIlVTRCIsICJkZXNjcmlwdGlv" +
  15.         "biIgOiAiZGVzY3JpcHRpb24gdGV4dCIsICJvcmRlcl9pZCIgOiAib3JkZXJfaWRfMSIgfQ==",
  16.         signature: "QvJD5u9Fg55PCx/Hdz6lzWtYwcI=",
  17.         embedTo: "#liqpay_checkout",
  18.         language: "ru",
  19.         mode: "embed" // embed || popup
  20.     }).on("liqpay.callback", function(data){
  21.         console.log(data.status);
  22.         console.log(data);
  23.     }).on("liqpay.ready", function(data){
  24.         // ready
  25.     }).on("liqpay.close", function(data){
  26.         // close
  27.     });
  28. };
  29.   </script>
  30.   <script src="//static.liqpay.ua/libjs/checkout.js" async></script>
  31.  
  32.  
  33. </body>
  34. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement