#fintanodowd_38546
1 messages · Page 1 of 1 (latest)
Hi there
So to clarify you want each change to result in a new line item as opposed to adjusting the current line item?
Hi bismarck - yes that is correct - we would like a new line time as opposed to adjusting the current line item
Hmmm so yeah this is going to be tough
What you would essentially need to do is use the upcoming invoice endpoint (https://stripe.com/docs/api/invoices/upcoming) to preview what the change would look like in terms of amount (so you know proration) but then instead of actually making that update you would create a separate Invoice Item yourself using https://stripe.com/docs/api/invoiceitems/create to add a line item here. Finally, you'll need to actually make the update but not have proration included on the update itself (so there isn't a double charge) so that future periods use the correct quantity.
Can the new Invoice Item be for the same Product? We were having issues creating multiple subscription line items that have the same product id.
Yes you should be able to use the same Product
Got it, thank you. Can I ask another question please?
The pro rating formula is very specific - is it possible to have it pro rate by day as opposed to second, or to round up the amounts?
No that's not possible
It is by second and can't be adjusted
You would have to do your own calculation otherwise
cool
Our customers will not get refunds if they reduce their amount over the course of the billing period. But if the amount is reduced during the billing period, their renewal should be for the correct, reduced amount. What is the best way for us to handle this? Basically we want to modify the subscription to reduce the amount without the customer getting a rebate.
I'm confused. What is the difference between: "over the course of the billing period" and "amount is reduced during the billing period"
Those read as the same thing to me
Sorry. We want to modify the quantity of the subscription without triggering a rebate to the customer. How should we go about that?
Oh you set proration_behavior: 'none' if you don't want any proration to apply
got it
one more please!
We are using the Stripe Elements React components to collect payment methods. We would also like to have a screen in our app where a user can update their payment method outside of the context of needing to make a payment. Is it possible to use Elements to create a screen to update a payment method without there being a required payment i.e. without a subscription secret or a payment intent?
Thanks! last one:
We wish to allow our sales team to afford discounts to customers if they are negotiated. These discounts will apply per item quantity added in the subscription period - a discount of $200 per legal entity for example. When we set up a coupon to represent a discount and apply it to a customer, it is applied to the overall subscription amount as opposed to per item quantity. Is there a way to configure a coupon such that the discount is applied per item quantity?
No that isn't possible
You would basically need to calculate the discount amount and apply it in this case
Or you could use a negative Invoice Item for this as well to serve as a discount