- philim86Asked on November 30, 2016 at 11:38 AMI have what appears to be a unique situation. I have a one time and recurring payment form, which follows the multiple payment method tutorial. The main form is at forms.jotform.com and the recurring form that is called in the iFrame widget is www.jotform.us . When I open just the recurring form by itself, the Oauth www.jotform.us domain works for the Oauth, but when I load the full form, I end up getting the blank page when I hit submit (which I think coincides with the error). If you can, take a look at the recurring option on my live form (the one time payment appears to work properly) and let me know if there’s anything that I am messing up. Thanks so much!
- BorisAnswered on November 30, 2016 at 12:08 PM
I understand that you are using the multiple payment method setup, as described in this guide:
Your main form is the one with form ID 63335862223151, named Branches Donation.
It houses two other forms embedded through the Iframe Embed widget:
I believe you have confirmed that your individual forms work correctly when you use their direct links, as provided above.
However, your form does not work correctly when it is used inside the Iframe Embed widget of your main form. This is due to security settings of Dwolla, and here is the exact error message that Dwolla throws when you try using their payment gateway inside of an iFrame:
Dwolla does not allow this, and therefore you cannot use this form inside the Iframe Embed widget. If you are wondering why Dwolla would be preventing you from doing that, it is a security measure. You can read more about X-Frame-Options on the following page:
As your individual forms cannot be loaded inside an iFrame, I would suggest instead redirecting your users from the main form to one of the payment method forms, which you can do by following this guide:
Please see the following demo form as an example:
And this is an image of the conditions it is using:
You can also simply clone this form into your own account for testing:
Please try it out, and let us know whether you need further assistance, or should you be experiencing further troubles. Thank you!