All Star
Posts: 699
Registered: ‎11-03-2016
Re: Accept Hosted / Iframe / Cancel Button

Hi @mikeyudin,


In an iframe scenario, a click on the "Cancel" button calls the "cancelContinueBtnHandler" function. That function will pass a message to you that the transaction has been cancelled, and if there is a "cancelUrl" that you passed, will then direct the browser to that URL. So, that URL doesn't load within the iframe, but within the browser.


There's no way to disable the cancel button entirely, but you can choose whether or not to pass the URL, which would change the behavior of the button a little bit either way.

View solution in original post

Who Me Too'd this solution