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

    Stripe coupon with donation

    Asked by melodicsounds on April 18, 2016 at 12:49 PM

    Is it possible to add a  discount coupon to a custom price with stripe integration?

    donation Stripe
  • Profile Image

    Answered by Ben on April 18, 2016 at 02:56 PM

    I would just like to confirm that you wish to set up the price to be passed over to Stripe payment processing tool from the form fields and to add coupons to the same?

    If so that would be possible.

    This guide will show you how to set up the form fields and payment tools to work together: How to pass a calculation to a payment field

    Now in regards to the coupons, you should check out the following: How To Add Coupon Code in the Payment Form

    For general Stripe setup you should check this: How to Integrate Stripe with your Form

    Of course, if you have any issues, doubts or questions, just let us know about the same here.

  • Profile Image

    Answered by melodicsounds on April 18, 2016 at 04:23 PM

    I don't have the add a coupon option because stripes reads the total from a field.... a custom value in the donation/custome value option in stripe..

  • Profile Image
    JotForm Support

    Answered by Kiran on April 18, 2016 at 06:00 PM

    Yes. You are right. Since you are using the Custom amount payments in the wizard, it reads the value from a form field to process the payment. In order to apply the coupon code on your JotForm, it is required to have a separate field for entering the coupon code and add some conditions to calculate the percentage of discount. 

    I've cloned your JotForm to my account and added two text fields for Coupon code, calculate the discount. Another field is added to calculate the final amount by adding a Form Calculation widget. 

    The discount value is shown based on the condition shown below:

    Now, the Form calculation widget is having the following calculation to subtract the discount percentage.

    Finally, the payment gateway will be reading the final calculation value to process the payment. 

    Please check the demo form below with the cloned version of your JotForm applying the above changes.

    https://jotform.com/61087201452952

    You may clone it to your account to see how it works.

     

     

    If you need any further assistance, please let us know. We will be happy to help.

  • Profile Image
    JotForm Support

    Answered by Kiran on April 18, 2016 at 06:01 PM

    Here is the guide that helps you to clone the form to your account.

    http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Thank you!