#SafanM-coupon-redemption

1 messages ยท Page 1 of 1 (latest)

obtuse elbow
#

Hello ๐Ÿ‘‹
Give me a moment to catch up here, thanks ๐Ÿ™‚

#

Can you share the coupon ID?

worn vine
#

FREE50MONTH

obtuse elbow
#

Hmm I'm unable to reproduce this on my end. let me take a deeper look.

worn vine
#

I am in Test mode

#

not sure if that's any relevant

#

for you does it throw an error if the product in the quote line_items does not belong to the coupon applies_to?

obtuse elbow
#

Yup I see following error
This code is valid, but doesn't apply to items in your order.

worn vine
#

are you testing on stripe dashboard?

#

or stripe cli?

obtuse elbow
#

Creating the coupon on the dashboard and then redeeming them using a payment link

worn vine
#

ahh payment link

#

I am using quotes / subscription api (update)

#

we are not using payment link

obtuse elbow
#

ah gotcha.
let me take a look into the coupon once again

obtuse elbow
#

Can you share the account ID as well?

worn vine
#

acct_1FK07UHXPWlCZA44

#

coupon code - FREE50MONTH
redemption # 1 - quoteID: qt_1L5Ye3HXPWlCZA44hv4cxOQ6 (with correct eligible product)
redemption # 2 - quoteID: qt_1L5Yl2HXPWlCZA44clpwBWdh (not eligible product, but coupon redemptions got reduced by 1)

plain coral
#

just catching up here! looking into these IDs

worn vine
#

sure

dull star
#

Hi @worn vine, can you point me to the request ID for redemption #2 qt_1L5Yl2HXPWlCZA44clpwBWdh? I'm not sure if it's intended behavior or not, but I want to be able to and repro on my end if possible

worn vine
#

req_FHAUSRKaGdeuqk

dull star
#

Sorry for the wait, still digging into this

worn vine
#

no worries

dull star
#

Just a quick update. This is a bit of a head-scratcher, so I dragged one of my colleagues over to take a look with me. I feel like the following should be true:

  1. You shouldn't be allowed to create Quotes with Coupons and Prices that aren't already linked, and
  2. the number of redemptions should not increment when a Quote is in a draft state

I'll let you know when we get to the bottom of this. Again, apologies for the wait.

worn vine
#

I totally understand, let me know if you need any details from my end

dull star
#

So there is no explanation forthcoming about why this is happening. Seems like a bug on our end.

@worn vine Can you contact support, let them know we talked on Discord, and mention my handle two-shoes so that I can pick up the thread? That will allow me to keep you updated on the bug fix

worn vine
#

I will reach out to them, by the way were you able to reproduce at your end?

dull star
#

I was planning on doing that over the next hour, but based on what I know about how Products, Prices and Coupons work this shouldn't be happening

worn vine
#

I will be interested in finding out the issue ๐Ÿ™‚

dull star
#

Me too! Let me know if/when you create the support thread and I'll go grab it

#

Thanks again for your time and patience. I'll try to get the product team to take a look and work on a fix before end of week.

worn vine
#

I submitted the ticket with two-shoes mentioned in it

#

and all possible details that we discussed here