#_bouls

1 messages ยท Page 1 of 1 (latest)

vapid topazBOT
frosty swift
#

Hello

#

What is the issue exactly?

grand charm
#

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

frosty swift
#

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

grand charm
#

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

frosty swift
#

I see 3 updates for that Sub?

grand charm
#

just created this one if you prefer sub_1OhISkB3sIQFKVD8NjyJMLlH

#

waiting for your go to made an update

frosty swift
#

Yep okay go ahead

grand charm
#

just added a product of 4.99 of quantity 1 -> no problem

#

waiting your go for next update ๐Ÿ˜‰

frosty swift
#

Yep go for it

grand charm
#

just added a product of 4.99 of quantity 1 -> no problem again

#

waiting your go for next update and adding the last one

frosty swift
#

Yep

grand charm
#

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

frosty swift
#

๐Ÿ‘

grand charm
#

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)

frosty swift
#

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

grand charm
#

Yes but I want proration when deleting a product to bill the proration ๐Ÿ˜ฆ

frosty swift
#

Then I'm not sure I understand?

grand charm
#

in our case I just pass from 3 quantity to 2 so I dont understand why

frosty swift
#

There is a line item for 2 quantity at 4.99

grand charm
#

exactly and the problem I think is this line (Unused time on 3 ร— Utilisateur after 07 Feb 2024
3)

frosty swift
#

Right, that is because you have proration enabled

grand charm
#

but proration should be in only one quantity because I delete only one no ?

#

and the proration is on the 3 quantity

frosty swift
#

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.

grand charm
#

Ok thanks a lot I'm gonna find an other way