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 pass the calculation value to Square payment?

    Asked by esquescript on March 01, 2017 at 02:09 PM

    I've been testing out a few different ways to allow students to purchase and register for my calligraphy classes using JotForm. I tried connecting it to paypal but that was unreliable and kicked people out or wouldn't go through to the payment section. I use Square for my in person sales so it'd be great to use it here too. However, there is no way I can find to limit the amount of a certain item that can be purchased. I can only sell 12 seats per class. For the paypal method I would use the inventory widget and form calculation to create a use defined amount. When I try to do the same thing with Square an error message pops up after hitting the submit button on the form. It does then go through but I can only imagine the panic emails I will get from customers about seeing that error.

     

    Any advice?

     

    Basically I need to accept payment for class spots and limit it to 12 spots for sale. Sounds simple, but it's gotten complicated.

    Page URL:
    https://esquescript.com/write-impression-march-class/

  • Profile Image
    JotForm Support

    Answered by Kiran on March 01, 2017 at 03:57 PM

    You may choose User defined amount in the Payment type field and then pass the calculation value to Square Payment by selecting the calculation field in 'Get Price From'. Please see the screenshot below:

    Hope this information helps! 

  • Profile Image

    Answered by esquescript on March 01, 2017 at 04:29 PM

    Yeah, that's how I do it now. When it's set up that way it gives the error message and then processes. But I need it to not show the error message. :)

  • Profile Image
    JotForm Support

    Answered by david on March 01, 2017 at 06:13 PM

    What is the error message that is shown?  The payments should be processed the same as if it were products set up in the payment field rather than a value from a calculation field.  There should be no difference.