Coupon codes on Stripe payment processor not working correctly

  • bhwstevens
    Asked on February 15, 2015 at 2:52 PM

    I set up a form using the example Stripe Cookie store template. Everything works, except for coupons.

    On the cookie order 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. 

  • bhwstevens
    Replied on February 18, 2015 at 9:06 AM

    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).

  • Ben
    Replied on February 18, 2015 at 11:55 AM

    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.

  • bhwstevens
    Replied on February 18, 2015 at 11:57 AM

    1. Yes

    2. Yes

    3. Yes. THe discounted amount is shown on the screen to the user, but the full amount is charged. 

  • Ben
    Replied on February 18, 2015 at 1:24 PM

    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.

  • Ben
    Replied on February 18, 2015 at 1:41 PM

    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

    Coupon codes on Stripe payment processor not working correctly Image 1 Screenshot 30

    With coupon codes

    Coupon codes on Stripe payment processor not working correctly Image 2 Screenshot 41

    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.

    Regards.

  • bhwstevens
    Replied on February 18, 2015 at 2:07 PM

    Hi,

    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. 

     

    http://form.jotformpro.com/form/50485791698978?

  • raul
    Replied on February 18, 2015 at 4:13 PM

    I made a clone of the template and was able to receive the discounted price on Stripe.

    Coupon codes on Stripe payment processor not working correctly Image 1 Screenshot 30

    Coupon codes on Stripe payment processor not working correctly Image 2 Screenshot 41

    Can you please try to http://form.jotformpro.com/form/50486386735971 and see if you are able to receive the discounted price on your stripe account too?

    We'll wait for your response.
    Thank you.

  • bhwstevens
    Replied on February 19, 2015 at 9:18 AM

    Hi,

    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:

    http://form.jotformpro.com/form/50493686367973?

    Issues:

    I can't set stripe into test mode

    Transaction 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.

  • KadeJM
    Replied on February 19, 2015 at 11:52 AM

    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.

    If possible could you please include screenshots? You can use our image repository and insert tool.

     

  • bhwstevens
    Replied on February 19, 2015 at 12:57 PM

    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?

  • David JotForm Support Manager
    Replied on February 19, 2015 at 3:16 PM

    Sorry to know that, as per your request, your subscription(INT150216-2656-67173) has been cancelled as per next month.

  • KadeJM
    Replied on February 19, 2015 at 3:50 PM

    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.

    Coupon codes on Stripe payment processor not working correctly Image 1 Screenshot 50

    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.

    Coupon codes on Stripe payment processor not working correctly Image 2 Screenshot 61

    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.

    Coupon codes on Stripe payment processor not working correctly Image 3 Screenshot 72

    Coupon codes on Stripe payment processor not working correctly Image 4 Screenshot 83

    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.

  • bhwstevens
    Replied on February 19, 2015 at 4:11 PM

    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

    http://screencast-o-matic.com/watch/conqYPe50b

     

    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.

  • bhwstevens
    Replied on February 19, 2015 at 4:17 PM
  • bhwstevens
    Replied on April 1, 2015 at 7:57 AM

    FYI: Jotform finally fixed the bug after I posted another ticket.

  • Ben
    Replied on April 1, 2015 at 10:33 AM

    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.