Transferring field amount to paypal payment screen

  • Profile Image
    slross
    Asked on January 18, 2014 at 07:42 PM

    Hi,

    I'm setting up a form for my website using the calculate fields option so that various fields with numeric values can be calculated to give a total price for the options selected (a selection of radios, drop downs and numeric text fields).

    As there are many variables there are obviously many outcomes and therefore setting up all the possibilities as products in the Paypal widget is not feasable etc.  Is there a way so that the final calculated field total can be transferred to the Paypal payment screen at the click of a button so that the amount payable is there waiting for the customer rather than expecting them to enter the correct amount from memory to pay etc ?

    Thanks for your help.

  • Profile Image
    EltonCris
    Answered on January 18, 2014 at 09:41 PM

    Hi,

    Unfortunately, that's not possible in the form builder itself. You might be able to achieve that when you modify your form source code.

    First, you have to add a PayPal payment tool to your form then choose "Custom Amount Payments". That will add a Paypal textbox on your form where you can enter a custom amount. You can use this textbox field for passing total values from the other field so when the user submits the form, the form will redirect to Paypal for the payment.

    To pass the value, you have to use custom script and inject it to your form source code. If you need help with the script, let us know here so we can assist you.

    Regards!

  • Profile Image
    slross
    Answered on January 19, 2014 at 06:48 AM

    Hi and thanks for your prompt reply, if you could help me out with the script then that would be greatly appreciated.  Thanks in advance.

  • Profile Image
    EltonCris
    Answered on January 19, 2014 at 08:30 AM

    @ slross 

    Can you please confirm if this is the form you'd like to apply the script http://www.jotform.com/40141809595356? May I request you to finalize your form first so we can come up with the script in accordance to your form.

    We'll await your reply. Thanks!