#SebRollen
1 messages · Page 1 of 1 (latest)
Hi, can you share the request id where you're seeing this? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Hi, id is req_lRjk0o11OPB8X4
Thank you, taking a look
Hm, I'm unsure what the issuer might be. I've tried replicating this on my end and I can see that the coupon I created is applied to my invoice.
Let me ask someone else on my team, thank you for your patience
Okay, sounds good. Thank you for your help, will wait here
Can you create another invoice/ apply this coupon and see if you still see the same issue?
I'm trying to apply this coupon on behalf of a customer through Stripe connect, so I'm not comfortable creating a new invoice on their behalf. I can try it in our main (non-Connect account), but it would be a different coupon id. Would that still be helpful, or does it have to be the exact coupon?
Hmm, you could try it on your account with a different coupon
Sure, trying that now
I was unable to reproduce it on my account and I do not know if you'd be able to either. However, I may be missing a step or two in my reproduction steps.
In our main account, the coupon gets applied correctly. I'm wondering if the issue somehow has to do with the first invoice being accessed through Stripe Connect
yeah, I am seeing the same behavior as yours where the coupon just works.
Oh, here's something interesting: From a previous attempt at applying a coupon to the item, I see this error message in the logs
This item is not discountable (e.g. discountable=false). Only discountable=true items can have discounts."
That's req_T6v6fCgiVNgUoh
could that be related?
That is a helpful context, thank you. I'm further looking at this with my colleague
Okay, thanks
From further looking at these, it appears that coupons do not work with backdated items. If you look at this request, req_T6v6fCgiVNgUoh you can see the period which is backdated to October.
ahh, okay, that makes sense. Yeah, it's definitely a backdated invoice.
Not sure if this is the forum for product requests, but if so, I think a more targeted validation message would be nice here 🙂
I'll see if I can update the invoice amount directly and add a note explaining the discounted amount instead of using a coupon
appreciate the help!
no problem, yes - I can send in your feedback. Thank you