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.
Coupon codes on Stripe payment processor not working correctlyAsked by bhwstevens on February 15, 2015 at 02:52 PM
I set up a form using the example Stripe Cookie store template. Everything works, except for coupons.
On the form the discounted price is shown correctly , but when I look in stripe the FULL amount has been charged.
I tried restarting from scratch, but it gave the same bug. I don't have an example form anymore , but with the template mentioned above the problem can be reproduced.
I do apologize for the issue that you are experiencing with applying coupons when using Stripe.
When applying the coupon to your form, are you using your Stripe coupons or did you select to use JotForm coupons?
If you are using the Stripe coupons and you don't have them applied within your Stripe account, the coupon would not be processed as such the full charge would be applied once the payment is processed.
When on the coupon page, you can select "Manage Coupon" and this will open a Stripe window, where you are able to sign in and manage your coupons.
I hope this helps, please inform us if you need further assistance.
I'm sorry to say this doesn't help. There are no stripe coupons possible in the cookie store example . Please recreate my scenario and I think you'll see coupons are broken (jotforms coupons that is).
Can you please confirm following:
1. you have used this template: http://www.jotform.com/form-templates/stripe-example-cookie-order-form
2. the coupon codes were for one time purchase or for subscription
3. one amount is shown on the Stripe integration on jotform and another being charged for?
After your confirmation we would be able to check and report to our developers if needed.
3. Yes. THe discounted amount is shown on the screen to the user, but the full amount is charged.
I presume that the second yes is for it being a product.
I will raise this to our developers to inspect and if the issue is with the template it will be corrected.
I should say that the coupons on Stripe, as far as I know, do not exist for single product, only for subscriptions, but you should not be charged more on Stripe than what is shown on the jotform itself.
As mentioned, our developers will take a look at it and see what might be causing the issue.
Thank you for reporting it.
I made a few more checks, but each time I get valid amount - using the template above.
Please take a look at these screenshots:
Without coupon codes being applied
With coupon codes
This is for 3 products 5+10+20 USD, with 10% coupon code applied.
I now that you said that the form is removed by now, but if you did not purge it from the Trash folder, it might still be there and would allow us to see the issue with it.
It's getting worse and worse :(
I cloned the misbehaving form. The link is below and the coupon code is test123 . The form is linked to my stripe test account so you can test with the test creditcardnr. Now coupons have totally broken down, the system doesn't take any coupon. It looks like this is a second bug.
I tried it, but it's getting even worse. Can we please have a skype call with screen sharing to fix the issue? This way we're not getting anywhere.
Here is the clone i made:
Issues:I can't set stripe into test modeTransaction is not sent to stripe at all
I created the coupon (it wasn't there), but i can't test since no data is sent to stripe.
My actual problem, coupons not working on MY form i shared with you is still not solved.
I understand a skype call would obviously be quicker and easier on you but currently we do not provide phone support which is the reason we have been working with you here as much as possible to try to resolve this issue you are having.
It seems that you're having three separate issues so we'll continue with the coupon problem here since that is your original issue and as for the test mode not setting and the transaction not going into stripe those have been moved since those are related but separate problems to avoid confusion.
Since you're saying the data is still not sending into your stripe account could you please describe to us the steps you are using when you test this? Maybe we can trace and replicate the issue by following the steps that you are doing when you end up with this result.
sorry but i don't have the time to play email pingpong, this is email 6 or 7 and i'm only getting further away from a solution. Could you please cancel my subscription as per next month?
Sorry to know that, as per your request, your subscription(INT150216-2656-67173) has been cancelled as per next month.
Even though we've cancelled your subscription during the time of such I had been trying to test and dig into the issue more and here's what I found out below.
On the clone you made to check if the data actually went through or not you would need to check in stripe under the "customers Created" in the bottom right of your stripe account dashboard you'll notice that because your form does create customers from my end during testing and I am wondering if you check on your end if you'd get and see the same result most likely.
I found that on your cloned last cloned test form here http://form.jotformpro.com/form/50493686367973? is set to "Charge Later (Manually)" and this means that you would only see the customer created first. The charge wouldn't be intiated until you click on the "charge customer now" button in your email notification at which point you'd see it apart of your successful charges on the left of the dashboard graphs.
For your original form for the Foundation Membership though I saw this was set to "Immediate" and that would appear right away. In my tests that worked flawlessly.
Now to compare though if you don't see it when it is charged later then you have to go in and look at the customers created to see if that data went through or not.
As for the coupon though the default Stripe ones will not work so you have to enable this within jotform first to get the discount. Now in my testing phases of this I found the discount is working here and was also received in stripe.
Because of that I am now wondering if the first form was going through or if you had set it to Charge Later at first then chanced it to Immediate to try to check it more perhaps.
Unless both are still not working for you now? I'm trying to figure this out more so that we can get it corrected for you if necessary.
If you clone my form and connect it to your test stripe you'll see coupons don't work.
I created a video showing just that... start watching from minute 5:30
My best guess is that the coupon function breaks down because i'm using VAT tax too. By the way: after we solve this bug, don't forget the original bug was that the full amount was sent to stripe instead of the discounted one.
FYI: Jotform finally fixed the bug after I posted another ticket.
I can only presume that you imply this thread: http://www.jotform.com/answers/522395-When-coupons-codes-are-entered-in-Stripe-they-are-always-shown-as-invalid but it is not the same as the original issue on this thread.
I am however happy to hear that your issue is resolved and do let us know if you have any further questions or issues and we would be happy to assist.