establish function to launch the Trustly Lightbox over your page. The SDK controls opening the Trustly Lightbox where the User will complete their Bank Authorization.
When the User exits the Trustly Lightbox, the SDK will direct the User to your
cancelUrl. See Handling the Redirect for more information.
Use this HTML to launch the Lightbox over your page:
<script> Trustly.establish(establishData, TrustlyOptions); </script>
Updated 5 months ago