#jhill-subscription-addinvoiceitems
1 messages ยท Page 1 of 1 (latest)
Hi ๐
One approach that I could think of would be to restrict your coupon to only specific products. However, that would be difficult if the price you have in the add_invoice_item also corresponds to one of those products
https://stripe.com/docs/api/coupons/create#create_coupon-applies_to-products
Yeah, that's not doable, the list of products will change and I would have to recreate or update each discount code
Is there another option?
Unfortunately we don't have that option with the add_invoice_items parameter. Since we support it for Invoice items, I can raise it as a feature request.
As for what you are trying to achieve, could you create an Invoice Item that would then get picked up on the initial invoice for the Subscription
I'm not familiar with that, how does that work?
Do you mean create an invoice item that isn't attached to any invoice, which Stripe would then automatically attach to the first subscription invoice? Or is there something different that I would need to do?
OK, I see this:
If no invoice is specified, the item will be on the next invoice created for the customer specified.
Thanks for the tip, I'll try it
It would still be really great to have the discountable option under add_invoice_items, please do request that feature
It would still be really great to have the discountable option under add_invoice_items, please do request that feature
Yes, I agree this would be quite useful. I will request it
Thanks for your help!
Sure thing! happy to help ๐ and I've filed the feature reqest