#_bouls
1 messages ยท Page 1 of 1 (latest)
So I have One product of 29.99 euros and 3 products of 4.99 euros (around 45 euros )but the price after update and only deleting one product of 5 euros is 39.97 euros
my sub id sub_1OhCUnB3sIQFKVD8p7fC2K3q
So if I look at the most recent update for that Subscription it looks like you changed the quantity of your 4.99 Price to be 3: https://dashboard.stripe.com/test/logs/req_EThEN8HYGwWlRV
I do see several updates though for that Subscription
I'd recommend creating a new one
And just making one update
Then we can look at it together
Ok I'm gonna do it now
I just created this one sub_1OhIK6B3sIQFKVD8m28fM87o, I added One product with 3 quantity and there is no problem at this point
When you want I can update the order to have a quantity of 2 and it will be a problem in the price total
I see 3 updates for that Sub?
just created this one if you prefer sub_1OhISkB3sIQFKVD8NjyJMLlH
waiting for your go to made an update
Yep okay go ahead
just added a product of 4.99 of quantity 1 -> no problem
waiting your go for next update ๐
Yep go for it
just added a product of 4.99 of quantity 1 -> no problem again
waiting your go for next update and adding the last one
Yep
Ok now I have a quantity of 3 -> no problem
I want to update to delete one quantity
Waiting your go to make it and see what happen
๐
Now you can see that the total price is not 2 quantity but one (29.99 + 4.99)
normally it would be 29.99 + 9.99 (2 quantity)
You didn't pass proration_behavior on that update
Pass proration_behavior: none
When you do that last request
Notice you do that on all your other requests
Yes but I want proration when deleting a product to bill the proration ๐ฆ
Then I'm not sure I understand?
in our case I just pass from 3 quantity to 2 so I dont understand why
There is a line item for 2 quantity at 4.99
exactly and the problem I think is this line (Unused time on 3 ร Utilisateur after 07 Feb 2024
3)
Right, that is because you have proration enabled
but proration should be in only one quantity because I delete only one no ?
and the proration is on the 3 quantity
No that's not how proration works
Proration does not take into account any previous actions... it is calculated at that moment based on the change that occurs. So it doesn't look at whether past Invoices have been paid or not, or whether past updates included proration or not.
Ok thanks a lot I'm gonna find an other way