QuickBuy Front End Implementation
Last updated
Last updated
<!DOCTYPE html>
<html lang="en">
<head>
<!-- This is the stylesheet for the widget -->
<link rel="stylesheet" href="https://quickbuy-v2.ibanera.com/index.css" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div
id="root"
style="
>
height: 100vh;
width: 100vw;
position: fixed;
top: 0;
left: 0;
overflow-y: auto;
"
<!-- This div is where the widget will be inserted. The data attributes are user- provided values that will be used to authenticate requests -->
<div
id="WidgetContainer"
data-clientsignature="YOUR_GENERATED_SIGNATURE_HERE”
data-quickbuykey="YOUR_QUICKBUY_KEY_HERE"
style="
background-color: #fff;
max-width: 650px;
margin-left: auto;
margin-right: auto;
"
<!-
- Import the index.js script below and it will insert the widget into the div it finds with
id="WidgetContainer" -->
<script src="https://quickbuy-v2.ibanera.com/index.js" id="QuickBuyScript"></script>
</body>
</html>