#karina-preview-quantity-coupon
1 messages ยท Page 1 of 1 (latest)
@frozen pulsar you should be able to pass https://stripe.com/docs/api/invoices/upcoming#upcoming_invoice-coupon and https://stripe.com/docs/api/invoices/upcoming#upcoming_invoice-subscription_items to simulate the change
@frozen pulsar did that answer your question?
oops sorry! let me check
no sorry, i know about that flow ๐
but this is what happens: if i currently have a subscription for 1 license for 100 dollars.
in the next hour, i want to add 1 user at 75% off, stripe will create a credit for about 100 dollars for the remainder of time for the 1 user, and then create a charge line for 2 users at 75% off for the remainder of time
this would result in an invoice that = -$50
sure but what's blocking you?
because we don't want to add a user and credit the user 50 dollars
we want to charge the user $25 for the new user.
Gotcha, so this has nothing to do with the upcoming invoice API right? Your question is about changing the behaviour of proration overall. And that is not possible at all today. You'd need to do all the proration calculation yourself in this world
k, just wondering if this was being worked on because i asked last about a year ago ๐