Creating the iFrame
Setting up the iFrame consists of three steps:
- Generating an Authentication Key
- Creating an iFrame Configuration Object
- Loading the iFrame into the DOM using the TokenEx Iframe JS Library. To test out the iFrame, the following script must be included into your page from this URL: https://test-htp.tokenex.com/Iframe/iframe-v3.min.js
Heads up!
You must include the link to this file from TokenEx servers and not self-host this file.
- Test
- US Production
- EU Production
<script src="https://test-htp.tokenex.com/iframe/iframe-v3.min.js"></script>
<script src="https://htp.tokenex.com/iframe/iframe-v3.min.js"></script>
<script src="https://eu1-htp.tokenex.com/iframe/iframe-v3.min.js"></script>
CORS
Latest Versions
Iframe-v3.79.min.js
- Test
- US Production
- EU Production
<script
src="https://test-htp.tokenex.com/Iframe/iframe-v3.82.min.js"
integrity="sha384-QT6QYUDcTVjaMAEo/gBop5LPSEiaBSaPtRBFVb86N/M63adc0F6Z2AV5DPYFnR8I"
crossorigin="anonymous"
></script>
<script
src="https://htp.tokenex.com/Iframe/iframe-v3.79.min.js"
integrity="sha384-BEJClKBa7+9KFNQJ9lnia5+taTAttB2aSEcQe95XPg+/J/z6RFNvtxdnAw4Uj/nT"
crossorigin="anonymous"
></script>
<script
src="https://eu1-htp.tokenex.com/Iframe/iframe-v3.79.min.js"
integrity="sha384-kT9OttfeFZs3lC9gb1TLgilbAAAyFNqNFn9cc5/NL8OlbgEA1YLcNvJLwqmg/4d4"
crossorigin="anonymous"
></script>
For previous versions and releases, visit our release notes page.