To install Fordefi's WebSDK, download the HTML code from the Fordefi's WebSDK Git.
Build
yarn install
yarn build
# serve demo page
yarn serve
Installation
Add the following lines to your HTML <head>
section.
<script src="https://apis.google.com/js/api.js"></script>
<script src="https://accounts.google.com/gsi/client"></script>
<!-- Option 1 - use an exact version - replace 1.3.2 with an sdk version -->
<script src="https://fordefi-sdk.s3.amazonaws.com/[email protected]/index.bundle.js"></script>
<!-- Option 2 - always use the latest version -->
<script src="https://fordefi-sdk.s3.amazonaws.com/web-sdk@latest/index.bundle.js"></script>