#Suren.retrieve-upcoming-invoice
1 messages · Page 1 of 1 (latest)
how can i figure out after update subscription plan
will the fee be paid or not
example year to month
Can you share the ID of the Subscription object?
sub_1JwlXhBfTh1Z0SMk3v7O76Mo
Thanks, please bear with me
ok
I think I understand
if the difference is 0.5 $
then the payment will be
did I understand correctly?
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 hascollection_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
There may also be prorated charges for the previous price due to the user too: https://stripe.com/docs/billing/subscriptions/prorations
So there may actually be credit due if they're changing mid cycle
All of this can be calculated using the upcoming invoice API
Anything after that is subject to minimum charges for the specific settlement currency: https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts
yes yes i understand thank you very much
Np!