How to pass a field's value to payment field?

  • mgcaledonian13
    Asked on November 14, 2016 at 2:11 AM

    Is it possible to repeat the value of a Quantity field in the Quantity field within PayPal,

    I don't want user to have to re-enter this quantity, as they will probably get wrong !!

    Willy Scott 

     

    Jotform Thread 989396 Screenshot
  • mgcaledonian13
    Replied on November 14, 2016 at 2:16 AM

    Sorry omitted the URL of the Form

    https://form.jotform.com/63161689197973

  • Özlem JotForm Developer
    Replied on November 14, 2016 at 4:00 AM

    Hi Scott,

    I have cloned your form to my side and I have made some changes on it.

    First of all, you can pass a calculation field in your form to your Payment Field.  Please have a look at this guide: How-to-Pass-a-Calculation-to-a-Payment-Field

    When I checked your form, "Fish, Film and Flowers Night 2017 - per person £ 7.50 GBP" radio button is read-only radio button field and it is default option. In other words, you multiply "Number in Party" field with 7.50 in all cases when user select "Paying by..." option as "PayPal".

    You can do it by changing a little bit your PayPal integration. I have prepared an example for you. Please clone this form to your side: https://www.jotformpro.com/form/63181162324953

    Please have a look at the instruction below about how to pass calculation value to payment:

    How to add Form Calculation Widget

    Click "More Fields" and search "Form Calculation". Drag and drop it to your form.

    How to pass a fields value to payment field? Image 1 Screenshot 90

    After that, please hide it.

    How to pass a fields value to payment field? Image 2 Screenshot 101

    Select Calculation Field and click Wizard icon.

    How to pass a fields value to payment field? Image 3 Screenshot 112

    Set up your calculation here. Please click "ADD FIELD" button to add a field which is used in your calculation.

    How to pass a fields value to payment field? Image 4 Screenshot 123

     

    How to Pass Value of Calculation Field to Payment

    Select your payment wizard and click wizard icon.

    How to pass a fields value to payment field? Image 5 Screenshot 134

    Delete your existing product and click Settings icon.

     

    How to pass a fields value to payment field? Image 6 Screenshot 145

    Chose "Payment Type" as "User Defined Amount" and "Get Price From" as "calculation" field.

    How to pass a fields value to payment field? Image 7 Screenshot 156

    Finally, Save PayPal Integration Settings.

    Please have a look at the result in the following video below.

    How to pass a fields value to payment field? Image 8 Screenshot 167

    In addition, please have a look at this guide about how to clone: How-to-Clone-an-Existing-Form-from-a-URL

    If you need any further assistance, please feel free to let us know.

    Thank you. 

  • mgcaledonian13
    Replied on November 18, 2016 at 12:23 PM

    Olivia

    That worked OK

    Thanks a lot

  • John_Benson
    Replied on November 18, 2016 at 1:09 PM

    On behalf of my colleague, you're welcome. 

    Feel free to contact us again if you need anything else. Enjoy the rest of your day.