PayPal Integration and Conditional Logic

  • Profile Image
    Asked 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!

  • Profile Image
    Answered on June 11, 2016 at 12:44 PM

    Hello nclac,

    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:

    Hope that helps. -Fellow Jotform User

  • Profile Image
    Answered on June 11, 2016 at 02:35 PM

    @nlac, please let us know if the solution given by @testbens help resolve your question.

    Thank you @testben for your contribution.