How can I have several conditions and calculations with my Stripe integration?

  • Profile Image
    Asked on July 01, 2017 at 09:07 PM


    I want to create a Jotform, with two separate STRIPE buttons, both with different features.

    The first button, STRIPE button, the user will enter the $ amount they want to pay, based on the ticket price, and the system will reduce the entered $ amount by 20% (NOTE: I entered a forum for developing this feature earlier).

    Underneath the user entered $ box, a second radio button where they can select a TICKET PROTECTION product, where this radio button also has a quantity drop box and the price will adjust.

    So, when the user enters the $ amount, then select a Ticket Protection product, STRIPE will automatically adjust and enter the price before the user enters credit card payment information.

    NOTE: Here is my Ticket Protection Jotform - - where the selects the amount of tickets they want to protect and there is a quantity box, drop-down box, where depending on the # selected, the price automatically develops based on the # selected.

    How can I integrate the two functions within one Jotform?

    Thanks for your help.



  • Profile Image
    Answered on July 02, 2017 at 09:52 AM

    I believe this thread is related to the previous thread you created ( with regards to the concept of having conditions and calculations executed before the Stripe payment integration gets the final value.

    In addition to the guide I mentioned in the previous thread ( please also note that you can insert text and calculations into a field by following our guide here:

    Please also see our general guide on creating smart forms using conditional logic here:

    These guides will show you how flexible Jotform forms are in terms of preparing the conditions you have in mind, and the amount calculations in each case, to finally hand the resulting amount as the user defined one for the payment integration, which is Stripe in your case.

    I hope this helps. If you need further assistance please let us know. Thank you.

  • Profile Image
    Answered on July 02, 2017 at 02:23 PM


    I am an amateur, how do I enter a calculation of where the system will take 20% off of the user generated price entered by the user?

    Thanks again,


  • Profile Image
    Answered on July 02, 2017 at 04:06 PM

    Allow me to start by providing you a sample form that is based on your requirements.

    Below is how the form above is done following the instructions that are found in these guides:

    First, add a field where your users can enter an amount.

    Next, add a Form Calculation widget which will process the calculation and get the entered amount at 20% off.

    And lastly, set up the Stripe payment field in your form similar to the image below. This will allow you to get what ever value is in the Form Calculation widget to the Stripe payment field.

    I hope this helps. If you have other questions regarding this, please feel free to contact us again anytime and provide us with more information.

  • Profile Image
    Answered on July 02, 2017 at 09:04 PM

    Works like a charm (20%) feature. Definitely, thanks for your help.

    Question, with what I have now, the 20% feature, would it be possible to add another STRIPE radio button, this product with a set-fee, and that set-fee, when the radio button is selected, is added with the 20% final price?

    Can that be done?

    Thanks for your help.



  • Profile Image
    Answered on July 02, 2017 at 11:53 PM

    Hello George,

    I am not sure if I have understood your question correctly. Do you mean to say that you want to add another product in your Stripe payment tool with pricing as zero and then change the pricing dynamically with 20% less?

    Unfortunately it is currently not possible change the product pricing dynamically in payment tool. The only option is to add a coupon code to apply 20% discount. Please take a look at our coupon code feature and see if that fits into your requirement:


    Hope this helps.

    Do get back to us if you meant to ask something else.

    Thank you!