How to add a coupon code to my payment form?

  • stumppta
    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?

     

    Thanks!!

    Form: https://form.jotform.us/70248050343144

  • Kiran Support Team Lead
    Replied on April 11, 2017 at 1: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.

    How to add a coupon code to my payment form? Image 1 Screenshot 50

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

    How to add a coupon code to my payment form? Image 2 Screenshot 61

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

    How to add a coupon code to my payment form? Image 3 Screenshot 72

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

     

    How to add a coupon code to my payment form? Image 4 Screenshot 83

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

    https://form.jotformpro.com/71001141926948

    Hope this information helps!