#arogers-connect
1 messages · Page 1 of 1 (latest)
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?
Ah -- just found it -- sorry. req_MsunPl2gIs7aLi
Thank you, let me look into this
Thanks!
Thank you for waiting, I was wondering if this is the invoice you are referring to? https://dashboard.stripe.com/test/invoices/in_1KR8AdRR9gyf43Fu2Zvddvxr
Yes, that is it
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
If you would like to make sure no proration occurs for the subscription itself, there is a field you could use when creating the subscription: https://stripe.com/docs/api/subscriptions/create#create_subscription-proration_behavior
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?
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.