PayPal Integration and Conditional Logic

  • nclac
    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!

  • testbens
    Replied 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.

    PayPal Integration and Conditional Logic Image 1 Screenshot 50

    After doing that, go to the PayPal field and click the 'Wand' icon.

    PayPal Integration and Conditional Logic Image 2 Screenshot 61

    In the wizard, click the 'Save' button.

    PayPal Integration and Conditional Logic Image 3 Screenshot 72

    In the next screen, click the 'Get Amount From' drop down and choose the calculation field.

    PayPal Integration and Conditional Logic Image 4 Screenshot 83

    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

  • victor
    Replied on June 11, 2016 at 2:35 PM

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

    Thank you @testben for your contribution.