Integrate web client on your web app
Integrate web client for a seamless, blended and an unified payment experience
1. Build checkout page on the client
1.1 Load HyperLoader
<script src="https://{{YOUR_WEB_CLIENT_URL}}/HyperLoader.js"></script>1.2 Define the payment form
<form id="payment-form">
<div id="unified-checkout">
<!--hyperLoader injects the Unified Checkout-->
</div>
<button id="submit">
<div class="spinner hidden" id="spinner"></div>
<span id="button-text">Pay now</span>
</button>
<div id="payment-message" class="hidden"></div>
</form>1.3 Initialize HyperLoader
1.4 Fetch the Payment and create the Unified Checkout
2. Complete payment on the client
2.1 Handle the submit event and complete the payment
2.2 Display a payment status message
Next step:
Account setupLast updated
Was this helpful?

