#truuutipz

1 messages · Page 1 of 1 (latest)

fleet skyBOT
warm plume
#

Hi there, do you have a specific invoice that I can take a look?

novel linden
#

I don’t unfortunately. Is subscription ID ok?

#

If not, I will have to respond at a later time when I am near a computer

#

Here’s the subscription ID

#

sub_1MF5LHJ85cqQfSXbDw4kALuG

warm plume
#

Let me take a look

#

I don't see any update to this subscription that results in proration.

#

Anyway to answer your question. Imagine you are changing the subscription halfway during the subscription cycle, you get credit for the unused time on the previous price, and pay only the remaining time on the new price.

For instance, you are on a $10 subscription that starts on 1 Jan, on 15 Jan you decide to upgrade to a $20 subscription. the unused time is -$5 and the remaining time would be $10, so the customer is billed an additional $5.

novel linden
#

Ok that makes sense. So what does 1 x.. mean in this case? I think in the preview proration API, it would display 1 x and for the example you mentioned, it would be 1 x Product A for $20. 1 x… just means the original price of the product right? And how much it would be charged in the following month?

warm plume
#

That's just the quantity of the price, you can change the quantity of price when updating a subscription.

novel linden
#

Could you tell me how the amount_due is calculated?

#

or the total

warm plume
#

The amount_due is calculated by the Stripe subscription engine. Before changing a subscription, you can also use the retrieve an upcoming invoice API (https://stripe.com/docs/api/invoices/upcoming#upcoming_invoice) to preview the invoice, so that you can preview the impact of the change before executing it.