How to pass a value via URL to a embedded form using the iFrame widget?

  • Profile Image
    Asked on May 05, 2016 at 07:16 PM


    My form uses the Form Calculation widget to pass total price to payment with Braintree. 

    I need to also add a PayPal option, so I'm setting it up with Multiple Payment Options (using the iFrame method), however I can't find any documentation or support on how to do this. 

    Is this possible? And if so, how? 



  • Profile Image
    Answered on May 05, 2016 at 07:37 PM

    I think that this will not be possible since you cannot modify the link that is set in the iFrame widget and pass the variable there, I have tested and did not work. 

    The only way that I can see to achieve it would be setting the products on each form so once the form is displayed you will have the calculation there. 

    Other option that I can think that could be the easiest way, would be redirecting your users to the payment form based on the selection they made, either if they want to pay via PayPal or Braintree, you are able to pass variables through the URL, this app will help you with that:

    With the app you will get the link to the payment form, where you have the integration, then you will need to get the name of the field that you will send in the link, the guide below will help you to get the name of it: 


    Once you have the links where your user will be redirected to pay, you will use conditions to redirect based on the selection and this guide will help you with that: 


    Hope this helps.