Jerome,
Thanks - but this shows that the collection of the information required for the 3D Secure check is under the control of the GUI as a form.
We don't have that option with PayGate - instead as per my post above, we are passed a URL which we have to present in an iframe. So, we need to either present the iframe inline on the payment page or pop a modal window to render the iframe. It is displaying the iframe in our code that we need help with...
Here's the section from the PayGate documentation:-
3D Secure using PayGate’s MPI – more redirect detail
If you receive a securerx message, it means MasterCard SecureCode / Verified-by-Visa authentication is required. The customer’s browser must be re-directed as described below.
Redirect To Bank
The data returned in the securerx message contains (amongst others) a URL, Transaction ID and Checksum; please refer to the Transaction Authentication for details of the data returned.
PayGate recommends making use of the HTML IFRAME tag to redirect the customer’s browser to the URL; you are also required to pass the Transaction ID, Checksum and your PayGate ID. Please ensure that you allow for a width of at least 390 pixels and a height of at least 400 pixels to display the IFRAME.
Example
Assuming the following values are returned in the securerx message:
URL (url attribute):
www.paygate.co.za/3dsecure/3dsecure.trans
Transaction ID (tid attribute): 123456
Checksum (chk attribute): ab12cd34ef56gh78ij90kl12mn34op56
The IFRAME that is returned to the customer’s browser would be:
<IFRAME width="390" height="400" src="
www.paygate.co.za/3dsecure/3dsecure.tran...D=123456&CHECKSUM=ab
12cd34ef56gh78ij90kl12mn34op56"></IFRAME>