What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Why does adding a PayPal payment field break my form?Asked by carbonsquare on March 15, 2017 at 02:08 AM
We are trying to go live with an online registatration form but when we add a PayPal payment field that is supposed to pull it's field from a calculated field, the entire form breaks and no longer does the calculations based on conditional logic.
The form works perfectly without the PayPal field added in...
But as soon as we add in the PayPal field to read its' value from the hidden "Payment Due" field, everything breaks. Event our logic that shows and hides sections no longer works after introducing the new PayPal field...
What are we missing here? We are scheduled to Go Live with registration later today but now cannot because of this issue. JotForm staff please help us fix this.
I cloned your form where you have added the PayPal Payment Field (https://form.jotform.com/70730879271967) and I noticed that you have selected the Collect Donations as a Payment Type.
Can you please change it to User Defined Amount instead? Please see the image below:
Hope this helps.
Let us know if you need further assistance.
Christian thanks for your reply. Yes we were trying collect donations since user defined seemed not to work when we had that selected the first time. Were you able to clone our form and get the pricing fields to work on your end? If so, please advise what you did to fix it.
Our form still does not capture the pricing and show any fee data in those fields, even when we use the User Defined Amount and try to pull the number from our hidden Payment Due field. Any additional idea why?
I was able to replicate the issue you are encountering on my cloned form. I cloned your form, tested my cloned form and the calculation fields are not working properly.
When I remove Paypal field, the calculation fields are working fine.
Let me further investigate this issue. I will get back to you as soon as I found the fix to the issue.
Thanks for your help. I am trying to simplify the form using one more logic calculation and one less Calculated Widget thinking that maybe the multiple widgets are causing an issue. Please clone this REWORKED form with one less Calculated Widget (Registration Total is now a calculated number field by conditional logic).
My Total Registered field number increases when the Name fields are filled in each section (Not Empty) and my Total Golf field is increased by logic when Will You Be Playing Golf "YES" selection is clicked in each section.
So now there are only 2 Calculated Widgets on the form (Golfer Fees & Payment Due) and it works to add up the math.
Next I will try to add the PayPal to see if it breaks!
As per further checking your form (https://form.jotform.com/70730879271967), I was able to find a solution to fix the issue. It seems that you first have set up a Payment Field with Products. The Payment Field products saved to your form was not properly deleted when you change your Payment Field to a different Payment Type. Please try the workaround shown in the demo below to fix the issue.
Here is the sample cloned form that I used for my testing: https://form.jotformpro.com/70733494710961.
Do let us know if you need further assistance.
Confirmed that adding the PayPal or Stripe breaks even the simplified form. If we take the payment widget out, the form works again. Frustrating!
REWORKED w/ PayPal added:
THANK YOU! THANK YOU! THANK YOU!
Christian YOU ARE A LIFE SAVER! We kept seeing the old PayPal products show up when switching over to User Defined Value but did not think to have to reset the product value first and delete the older ones before changing the PayPal type. OMG we would have never found that without your help!
Now we just need to add in the PayPal processing fee and we will be ready to launch. Wow, almost afraid to touch it now but at least we now understand the problem and how to fix it. All the best!
We're very glad to hear that the issue has been resolved now, and your kind words of praise have reached our colleague as well. :)
Should you need assistance with anything else or run into any other issues along the way, you can reach us through our support forum anytime by simply opening another support thread: