#arogers-connect

1 messages · Page 1 of 1 (latest)

jaunty scarab
#

Hi there, the subscription schedule's proration_behavior is only specific for the phase where this is defined. This does not apply to the subscription itself.

I was wondering if you have a request id (req_xyz) I could look at please?

atomic ridge
#

Ah -- just found it -- sorry. req_MsunPl2gIs7aLi

jaunty scarab
#

Thank you, let me look into this

atomic ridge
#

Thanks!

jaunty scarab
atomic ridge
#

Yes, that is it

jaunty scarab
#

The invoice has been charged $95.20 instead of $200 is due to the customer's balance has been applied.
For this specific customer, there is a balance of $104.80 accumulated from previous proration. If you look at https://dashboard.stripe.com/test/customers/cus_L0yOXSzXD4lxK6/balance_transactions, you can see the balance of $104.80 has applied to above invoice.
Thus resulting in the total amount to charge: $200 - $104.80 = $95.20

#

For your information, the subscription schedule you have created has a phase end date of 1743393600 (i.e. Monday, 31 March 2025 04:00:00 UTC), the proration_behavior: none behavior applies until this time

atomic ridge
#

I see -- when I first started implementing this code, I originally had proration default and I later changed it to proration behavior of none. Once I use up the proration balance, will this behave as normal (i.e. the total charge would be $200)?

Also, I am creating a subscription by creating the subscription schedule (i.e. not explicitly creating a subscription). You're saying that I would need to set proration_behavior to "none" for the subscription itself.

#

Is there a way to specify that the subscription should have a proration_behavior of none when created by subscription schedule?

jaunty scarab
#

Once I use up the proration balance, will this behave as normal (i.e. the total charge would be $200)?
Yes

#

You're saying that I would need to set proration_behavior to "none" for the subscription itself.
Yes, as proration for subscription is enabled by default. And the subscriptions continues even when subscription schedule ends, it begins a new phase, if a phase was not predefined in advance, the default behavior is used.