Installation
To use Bias Checkout, first include the Bias Web SDK on your site. Always load
the SDK directly from https://js.biaspay.com
.
Loading the SDK as a module
We also maintain an NPM package that handles loading the script for you. It provides a familiar type-safe interface for the SDK.
Shell
npm install @biaspay/web
Asynchronous loading
It’s recommended to load the SDK asynchronously to avoid blocking your page load. If you’re using the above module loader, it will handle this for you. Otherwise, when including, add the async
or defer
attribute
HTML
<script src="https://js.biaspay.com/v1" defer></script>