PayPal Wizard - automatically select a product based on a form question

  • bhds
    Asked on October 30, 2017 at 12:28 PM

    Is it possible to set which product is selected in the PayPal payment wizard depending on a value chosen in another field?

    We want to set up a form which staff can use to donate to our school, and want an option to make a one-off donation, set up a monthly or annual recurring donation, or select to have their donation deducted from pay-roll.  If they choose the pay-roll option, then the PayPal wizard is hidden, and when they click on Submit they don't have to go through the PayPal process.

    I want to set the PayPal wizard up so that the appropriate product is automatically selected based on the payment frequency that is selected from a single-choice list on the form.  Is this possible?  I don't want staff to have to select a payment frequency and then select the right subscription in the PayPal wizard, but I need the payment frequency question so that the PayPal wizard can be hidden if someone chooses to donate through pay-roll.

    Thank you.

  • David JotForm Support Manager
    Replied on October 30, 2017 at 12:35 PM

    Unfortunately, it is not possible, as our conditional logic feature does not support products from payment integrations.

    What you can do is to automatically calculate the total according to the option selected in the Single Choice field: https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget 

    Then pass the total to your payment field:

    https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field 

    Let us know if you have more questions, we will be glad to assist you.