Window Redirection

There is an alternative method to load Snap UI page instead of calling snap.js, which is window redirection. Merchants can utilize the response value in redirect_url from the Create Snap Token request. Merchants don't have to load snap.js in their page, as the user is redirected to a page that is hosted by Midtrans.

With this redirection merchant can load Snap page in full window mode view like this:


1057