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

    Can I set Quantity using the Stripe Payment Field integration?

    Asked by chesterhull on March 14, 2017 at 12:01 PM

    I'm using the Stripe Payment field integration to setup a subscription in Stripe. That's all working correctly. But I need my user to be able to choose a quantity, and have it automatically calculate. 
    Is there a way to do that? 

    Possibly through the Calculate function, if I set one question to be the number of subscriptions needed? 

    Or, possibly through the Variable Price setting of the Stripe integration. But when I try that, the only available Get Price From drop down shows "none (manual)". 

    Currently I have a separate subscription selection for each quantity, but that's less than ideal, since I want quantities up to 25. 

    Thank you for your help! 

    Page URL:
    https://www.jotform.com/build/70546879471166#preview

  • Profile Image
    JotForm Support

    Answered by Jim_R on March 14, 2017 at 01:28 PM

    But I need my user to be able to choose a quantity, and have it automatically calculate. Is there a way to do that?

    Yes this is possible but if and only if you're Payment Type is Sell Products. If you're Selling Subscriptions, then there's no option for a quantity since subs usually come in once every period chosen (e.g. weekly, monthly, yearly).

    I assume that if you could do this part, the rest of your question is considered unnecessary, correct?

    So, if you wish to add a Quantity Option to your Products, just do the following:

    1. Open the Stripe Wizard and setup your Products

    2. Once you have your Products, click the PENCIL icon beside each product > scroll to the bottom > then click ADD A QUANTITY SELECTOR

    3. Set it up upon your discretion and that's basically it

    With this setup, the Payment Field will automatically take care of the calculation for you.

    Related guide: How-to-Add-Options-to-Payment-Forms 

    In case we misunderstood your question, just get back to us with a bit more info and a clearer description of what you're trying to do so we can better assist you. Sharing screenshots and your Form ID/URL will also be helpful.