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

    I'd like to combine Conditions with PayPal and/or CC payments

    Asked by BiscuitFoundation on October 03, 2015 at 06:07 PM

    Here is a link to what I have so far...

     

    http://form.jotformpro.com/form/52757082121956

     

     

    I'm sure there is a much better way to create what I did, but I'm still learning.

    My objective is to have a choice of several candles or different amounts if they would like, with a price break after they purchase 3, but to also add $1 to the total.

    I would also like to have them submit a payment through PayPal or CC and have the total populate.

     

    I was able to create everything, but to have the Total fill in when they make a payment.

     

    I hope someone can help me,

    Rene

    and OR a
  • Profile Image
    JotForm Support

    Answered by Mike_G on October 04, 2015 at 10:27 AM

    To my understanding, the initial price of the candles is $9 a piece, but if someone will be making a purchase of more than 2 candles, the price will become $8 instead and aside from that there will be an additional $1 for transaction fees, is that correct?

    I have tested your form and it seems okay. I just would like to suggest that instead of using a spinner(I'm not sure if it is intentional) to get the Quantity, Price per piece and Total, you can use a regular textbox field and set its properties to "read-only" so submitters of your form will not be able to change/alter them to manipulate the total amount that will be passed to the payment tool.

    With regards to your concern of passing the value on the total field to the payment tool, here's what needs to be done. 

    Add an additional textbox field on the form and set its properties to hidden so it will not show on the form.

    Then, pass the value of the Total(spinner) field to the "Collect Total" field using Condition Wizard.

    Once done, we then pass the value that's in the "Collect Total" field to the payment tool.

    After filling your PayPal API settings, click Next and on the next page

    Then, save your form and make some test. 

    I hope this helps. 

    You may also refer to this guide: How-to-pass-a-calculation-to-a-payment-field

    Should you have any other questions or concerns, please feel free to let us know and we will be glad to help you. Thank you.

  • Profile Image

    Answered by BiscuitFoundation on October 07, 2015 at 08:17 PM

    That works perfectly! Thank you so much for your help   :-)