How to add a coupon code to my payment form?

  • Profile Image
    Asked on April 10, 2017 at 11:18 PM

    Good evening!  

    I would like to add a coupon code to my payment form and I found a tutorial but I cannot find the coupon tab in my form.  Can someone help me create a coupon code?




  • Profile Image
    Answered on April 11, 2017 at 01:34 AM

    I have checked your JotForm and see that you are having a custom calculation on the form which is being passed to the payment field. Unfortunately, add coupon codes to the payment field as mentioned in this guide is possible only when the products are configured within the payment field. Since you are already having the custom calculation on the form, you may have the coupon code to the form by setting up some conditions.

    Please add a new Input short entry to enter the coupon code and a calculation field for calculating the final total after discount.

    Now, you may set up a condition on the form to calculate the discount provided for the coupon and total amount.

    The 'Amount after discount field' can be passed to the payment field for payment process.

    When the coupon 'GET5' is entered the amount is calculated as shown below:


    Please take a look at the following cloned form with the above changes and you may also clone the form to your account.

    Hope this information helps!