JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Is it possible to add a coupon code to the donation?Asked by KC on June 10, 2015 at 11:32 PM
Is it possible to add a coupon code to the total? In other words, the calculation will automatically calculate the total, but I want to give some people a coupon code which will then take a set $ amount off the total.
This is a re-post of a comment on How to Pass a Calculation to a Payment Field
Thanks for contacting us.
Yes, it is possible to add a coupon code to the total of your products. You can check the instructions below to know how to setup coupon code using Payment tool.
Do let us know if you need further assistance.
Hi, It probably wasn't clear in this separate thread that my question was coming from a post about passing a calculation to a payment field, here: http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field
I cannot find a coupon option if I use the collection donations/custom amount payments selection.
Do you mean why isn't there the option to add a "coupon" in the Donation|Custom Payment Amount section of the payment integration if chosen? Please confirm or correct me.
Yes, I'd like to pass a calculation total to a payment form (in this case, paypal) as shown in your example above. But I want to give coupon codes to certain people so they can get a discount off the total price. Is there a way to do that?
Unfortunately there is not coupon code option if you select Collect Donations/Custom Amount Payments option.
Possible workaround is to create a coupon code by adding text box field to accept the discount code and then adding a Form calculation field.
Now you need to setup a condition that if coupon is equal to "coupon1" then update the Form calculation field:
In this case there is a fixed discount of 20 USD:
You can test and clone the demo form (coupon is coupon1):
Feel free to clone my form for closer look.
Inside of this article can find out how to add coupon code in payment form:
Hope this will help. Let us know if we can assist you further.
Great, a tad more clunky, but I think this workaround should work. I'll test it out with my form. Thanks!
You are welcome.
Let us know if you where able to make it work.