JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
PayPal Integration and Conditional LogicAsked by nclac on June 11, 2016 at 10:40 AM
First, I want to say that JotForm is an incredible tool and as a web designer, I always recommend it to my clients!
Second, I have a persistent issue that I've worked around and would really like to resolve once and for all. My client is a non-profit arts organization, and I'm creating a membership form for them. Different membership levels have different prices; I don't want to use PayPal products, because the charges needs to go through as a donation. I have tried using the PayPal integration donation option and setting up conditional logic to populate that field based on the membership level selected. So for instance, if you select the "Student" level, I want it to fill in the PayPal donation field with "15," which would carry over to the payment gateway. Nothing I've tried seems to allow me to write into the PayPal field. Am I missing something or is this by design?
I hope that's fairly clear! If there's an elegant solution, please let me know!
Please try adding a 'Form Calculation' widget to your form. The formula that you'll use is to just copy the value of the 'Total Due' field.
After doing that, go to the PayPal field and click the 'Wand' icon.
In the wizard, click the 'Save' button.
In the next screen, click the 'Get Amount From' drop down and choose the calculation field.
Finish the integration and save the form when you're done.
Here's a helpful guide: https://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field
Hope that helps. -Fellow JotForm User
@nlac, please let us know if the solution given by @testbens help resolve your question.
Thank you @testben for your contribution.