Activating the iframe mode
Populate vads_action_mode to IFRAME in your payment form in order to enable iframe mode and to obtain a clean display.
Figure 1. Redirect payment page without IFRAME | Figure 2. Redirect payment page with IFRAME |
Using the payment page in IFRAME mode requires that the fieldvads_action_modebe valued atIFRAMEand not toINTERACTIVE.
Example of integration:
- Creating a HTML tag<iframe>on the page where you would like to display the fill out form (this page should correspond to the “Payment” stage of your purchase journey):
... <body> <iframeid="idFrame" name="nameFrame" src="https://www.mystore.com/payment/form.php"/> </body> </html>
- Value the attributesrcwith your payment form URL.