How can I pass the total from a PayPal payment widget to another field?

  • mdavid
    Asked on February 27, 2017 at 3:56 PM

    I have a form where the user can use a coupon to discount the total paid in the PayPal widget and I would like to pass the discounted total to another field where I can use it in a calculation.

  • David JotForm Support Manager
    Replied on February 27, 2017 at 6:11 PM

    This is possible, please check the following guide: https://www.jotform.com/help/270-How-to-Pass-a-Form-s-Calculated-Value-to-another-Form-s-Payment-Total-Field 

    Let us know if you need more help.

     

  • mdavid
    Replied on February 28, 2017 at 7:01 AM

    This doesn't actually answer my question though.  I need to pass the discounted amount from the PayPal module to another field on my form.  I don't have a total field in the PayPal module as there is only one item (please take a look at the form that I attached to the support ticket).

  • Kiran Support Team Lead
    Replied on February 28, 2017 at 9:44 AM

    You may enable the option Shot Total price on the form so that the final price is displayed on the form and this value can be passed to another field.

    How can I pass the total from a PayPal payment widget to another field? Image 1 Screenshot 40

    Now, add a new calculation widget to the form and add the PayPal field to the calculation field so that the value of the PayPal field is displayed.

    How can I pass the total from a PayPal payment widget to another field? Image 2 Screenshot 51

    This is how it displays on the form.

    How can I pass the total from a PayPal payment widget to another field? Image 3 Screenshot 62

    Hope this information helps!