#SafanM-coupon-redemption
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Give me a moment to catch up here, thanks ๐
Can you share the coupon ID?
FREE50MONTH
Hmm I'm unable to reproduce this on my end. let me take a deeper look.
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?
Yup I see following error
This code is valid, but doesn't apply to items in your order.
Creating the coupon on the dashboard and then redeeming them using a payment link
ahh payment link
I am using quotes / subscription api (update)
we are not using payment link
ah gotcha.
let me take a look into the coupon once again
Can you share the account ID as well?
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)
just catching up here! looking into these IDs
sure
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
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_FHAUSRKaGdeuqk
Sorry for the wait, still digging into this
no worries
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:
- You shouldn't be allowed to create Quotes with Coupons and Prices that aren't already linked, and
- the number of redemptions should not increment when a Quote is in a
draftstate
I'll let you know when we get to the bottom of this. Again, apologies for the wait.
I totally understand, let me know if you need any details from my end
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
I will reach out to them, by the way were you able to reproduce at your end?
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
I will be interested in finding out the issue ๐