Launching the Lightbox

Use the 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 returnUrl or cancelUrl. See Handling the Redirect for more information.

Establish Transaction

Use this HTML to launch the Lightbox over your page:

	Trustly.establish(establishData, TrustlyOptions);


establishDataSee Establish Data
TrustlyOptionsSee Getting Started