What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to make my PayPal payment option calculate the number of packs the consumer selects?

    Asked by usawsf2014 on October 03, 2014 at 11:39 AM

    Hello,

    I have created a form for my consumers to order some holiday greeting cards.

     

    The only thing I can not figure out is how to essentially link the number of packs they chose, which are 1 pack for $15, 2 for $30 or 3 for $45. I would like to make the form automatically input the price amount of the pack they intend on buying into the PayPal payment option if they so choose to pay using PayPal.

     

    Hopefully this is a good description of my problem, I will also add a link to my form to help better understand my issue.

     

    Thanks for all your help!

     

    Blake King

     

     

    Page URL:
    http://form.jotform.us/form/42734122801142

    payment option pass to paypal PayPal
  • Profile Image

    Answered by Ben on October 03, 2014 at 12:10 PM

    Hi Blake,

    I am sorry, but I am not entirely sure if you want to pass the number of items that would be purchased (judging from the tile) or the amount (which I presume that you want).

    If you would like to pass the selected value (amount) to the PayPal integration you should follow these steps: How to pass a calculation to a payment field

    You have already added a form calculation field so you will need one more for this to work.

    Do let us know if you need further assistance with this and if the suggested option is not what you wanted to achieve and we will be happy to help.

    Best Regards,
    Ben

  • Profile Image

    Answered by usawsf2014 on October 03, 2014 at 12:37 PM

    I have added a calculation tool to the form but when I add the field "number of packs" it calculates every number so for instance say I want 1 pack for $15 (12 cards) the calculation shows 11512.

    You are correct though I would like to integrate the amount of the package picked by the consumer to the PayPal amount.

    Sorry I am just confused on how to exactly use the calculation widget for what I am trying to achieve.

     

    Again thanks for all your help! 

  • Profile Image
    JotForm Support

    Answered by david on October 03, 2014 at 01:24 PM

    Hi,

    You are actually very close.  Currently though, you are only passing the names of the options to your calculation widget, which is performing calculations on those while stripping out the non-numerical data(1 Pack 15$(12 Cards) turns into 11512).  You would need to add the values you would like to have associated with the options in order to get the results you desire:

    That was all I changed and your form works like this:

    http://form.jotformpro.com/form/42754998784983

    Let us know if you have any further questions and we will be happy to help.

  • Profile Image

    Answered by usawsf2014 on October 03, 2014 at 01:31 PM

    Okay, yes that makes sense now and exactly what I needed! Thank You!

     

    Once again thank you and the rest of the support team for helping me with this problem!

  • Profile Image
    JotForm Support

    Answered by david on October 03, 2014 at 01:42 PM

    You are very welcome, we are here to help!  Let us know if you have any further questions and we will be happy to assist you.