How to send multiple form field data to PayPal?

  • pwshband
    Asked on May 23, 2016 at 2:27 AM

    Hi, I am successfully making payments with Paypal but when testing payments with debit or credit cards I noticed none of the user fields are transferred from my original jotform. I read the forum and saw where users were directed to using the "custom field" in the properties option of the PayPal payment.  But how do you select more than one field to transfer or can you select more than one field? How does PayPal know how to  map the fields? I am interested in not having the customer re-key in all the information already entered on the jotform.

    Thanks.

  • Ashwin JotForm Support
    Replied on May 23, 2016 at 3:14 AM

    Hello pwshband,

    But how do you select more than one field to transfer or can you select more than one field? How does PayPal know how to  map the fields?

    Please be noted that you can only select any one form field data to be transferred to PayPal. Which form field data you want to send can be selected from the properties of paypal question. Please check the screenshot below:

    How to send multiple form field data to PayPal? Image 1 Screenshot 30

     

    If you want data of multiple fields to be sent to Paypal here are the steps you should follow:

    #1. Add "Form Calculation" widget in your form.

    #2. Add formula to concatenate the value of multiple fields.

    #3. Select this form calculation field as "Custom Field" of your paypal properties. Please check the screenshot below:

    How to send multiple form field data to PayPal? Image 2 Screenshot 41

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • pwshband
    Replied on May 23, 2016 at 11:41 AM

    Hi, thanks for the information.  I can't seem to get this to work.  

    When creating the calculation field I am intrigued as how you use what looks like a '-' sign in between the fields every time i use i get a square green box around the minus sign.  But it seems to work since I see all the fields being concatenated in the calculation field.

    One question, I am trying to map the fields such as user first name, last name, address, phone # to the fields which Paypal requires when you select a credit card purchase.  Is this even possible?  Where exactly is it passing this to? Where should I expect to see them?  It doesn't seem to pass any fields to PayPal.

    Thanks,

    Jack

  • David JotForm Support
    Replied on May 23, 2016 at 12:50 PM

    Using the keyboard key for - instead of using the button in the calculation will result in the character being placed in the calculation rather than the green box with - icon that is added when pressing the button in the menu.  Both work exactly the same.

    For credit card details, users will be redirected to PayPal for payment when the form is submitted and will be able to enter their billing data directly in the PayPal interface.  If you have a PayPal Pro account, users can pay with their credit card directly in the form.

    https://www.jotform.com/help/183-Difference-Between-PayPal-PayPal-Pro

    Passing a custom field to PayPal is simply a way to pass one additional field to PayPal for notes or something of that nature.