#Suren.retrieve-upcoming-invoice

1 messages · Page 1 of 1 (latest)

weak mirage
#

Hey, can you please clarify the question?

sharp kayak
#

how can i figure out after update subscription plan
will the fee be paid or not

#

example year to month

weak mirage
#

Can you share the ID of the Subscription object?

sharp kayak
#

sub_1JwlXhBfTh1Z0SMk3v7O76Mo

weak mirage
#

Thanks, please bear with me

sharp kayak
#

ok

sharp kayak
#

I think I understand

#

if the difference is 0.5 $

#

then the payment will be

#

did I understand correctly?

weak mirage
#

Hey, so sorry for the delay.
When updating a subscription from a yearly price to a monthly price (and vice versa) the default behaviour is as follows:

If the prices have different billing periods, the new price is billed at the new interval, starting on the day of the change. For example, switching a customer from one monthly subscription to another does not change the billing dates. However, switching a customer from a monthly subscription to a yearly subscription moves the billing date to the date of the switch. Switching a customer from one monthly subscription to another monthly subscription while introducing a trial period also moves the billing date (to the conclusion of the trial).
So as the subscription you've shared has collection_method: 'charge_automatically' the user will immediately be invoiced and billed for the new price, with the billing period being reset to the date of the change

#

So there may actually be credit due if they're changing mid cycle

#

All of this can be calculated using the upcoming invoice API

sharp kayak
#

yes yes i understand thank you very much

weak mirage
#

Np!