How to pass the selected value in field to PayPal field?

  • Profile Image
    ayyaesika
    Asked on July 13, 2019 at 05:47 AM

    Hello,

    I have created an event booking form. Near the top of the form I ask for the number of people are being registered. (Up to 5 people can be registered per form.) I would like to pass that number (actually it is the number plus 1) to the the quantity field in PayPal. Is this possible?


    I have tried to create an update/calculate field condition, however, the Paypal quantity field is not listed in the drop down list for the summary field.

    Here is the link to my form: https://form.jotform.co/90562426390861

     

    Thanks

  • Profile Image
    jherwin
    Answered on July 13, 2019 at 07:11 AM

    You need to list your item using multiple choice element and then use the form calculation widget to get the selected quantity.

    You can then calculate the selected quantity to 30.00AUD.

    For example:

    Quantity * 30.AUD > Pass to PayPal field.

    Guide: 

    - How-to-Pass-a-Calculation-to-a-Payment-Field

    - How-to-Perform-Form-Calculation-Using-a-Widget

    You can check my demo form here: https://form.jotform.com/91932559871975

    You can also clone that demo form to inspect and to know how it was done: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL


  • Profile Image
    ayyaesika
    Answered on July 16, 2019 at 07:40 AM

    Hello jherwin,

    I was unable to clone your demo form. (The error message is "Unauthorized request. You do not have access to this form".)

    But I have partially worked out what I need to do, however, the value is not being passed to "Total". 

    Thanks



  • Profile Image
    Kiran
    Answered on July 16, 2019 at 08:02 AM

    Sorry for the trouble caused. It looks like Privacy option to prevent the cloning is enabled for the form/account. I have now disabled it for the form and you should be now able to clone it to your account. 

    Please give it a try and let us know if you need any further assistance. We will be happy to help. 

  • Profile Image
    ayyaesika
    Answered on July 16, 2019 at 08:18 AM

    Hello Kiran,

    Thanks. I've got it working.