- chesterhullAsked 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!
- JotForm SupportJim_RAnswered 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.