selectBankWidget function to display a Trustly Widget inline on your page which allows the User to select their bank. 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 display the Bank Widget on your screen:
<body> <div id="widget-id"></div> <script> Trustly.selectBankWidget(establishData, TrustlyOptions); </script> </body>
Updated 17 days ago