Can I limit the total quantity on stripe integration?

  • Profile Image
    HRMink
    Asked on November 25, 2014 at 02:46 PM

    We are offering customers to purchase 5 of any product. They can either chose 5 of the same product or 1 of each product or however in order to get up to 5. Is there a way to limit their ability to select more than 5 total products on the Stripe integration?

  • Profile Image
    Ben
    Answered on November 25, 2014 at 04:43 PM

    Hi,

    Unfortunately that is not possible to be set through the purchase widget itself, but you can do that by collecting the choices of the user and checking their selection through the conditions then pass the value to the payment processing widget.

    Useful guides:

    How to pass a calculation to a payment field

    Smart Forms Using Conditional Logic

    How to Insert Text or Mathematical Caculation into a field using a Condition

    Do let us know if you have any further questions.

    Best Regards,
    Ben

  • Profile Image
    HRMink
    Answered on November 25, 2014 at 05:47 PM

    Okay I have 5 drop down options now. I want to add up each selection they chose. I have added a value to each selection. For some reason the calculation is calculating something I cannot figure out. 

     

    http://form.jotformpro.com/form/43286455260961 (select yes on the 'are you a real estate agent' question)

     

    It is showing up with a value of 400 for some reason automatically when nothing is selected. 

  • Profile Image
    HRMink
    Answered on November 25, 2014 at 05:57 PM

    nevermind I figured out I need to make the first value default to 0 to make up for the default non selection

  • Profile Image
    jonathan
    Answered on November 25, 2014 at 08:00 PM

    Hi,

    nevermind I figured out I need to make the first value default to 0 to make up for the default non selection

    This is correct. =)

    Thank you for letting us know that it is now resolved.

    Don't hesitate to contact us again anytime should you need our assistance on JotForm.

    Thanks!