#coherence
1 messages · Page 1 of 1 (latest)
hello @dense anchor! I'd suggest updating the current subscription to cancel_at_period_end [0] and using subscription schedules [1] to schedule the start date of the new pricing .
[0] https://stripe.com/docs/api/subscriptions/update#update_subscription-cancel_at_period_end
[1] https://stripe.com/docs/billing/subscriptions/subscription-schedules
can you elaborate a bit more on what you mean by having a custom billing end date?
Right now the billing cycle is 30days from subscription start. So if some one signs on October 5, their billing will be Nov 4. We want it end of every month
you can set the billing date : https://stripe.com/docs/billing/subscriptions/billing-cycle
BUT something very important to take note of is that because you're using metered billing - you need to be aware that there is no proration
so for example, if someone signs up for a $100/usage for on the 27 of the month, and you set the billing anchor to end of the month, the user is going to be charged $100 for 1 usage on the 30 (even though there's only 3 days left of the month)
Hmm, yeah that is something that we don’t want to happen, but not sure how to prevent. Any suggestions on the above use case? What can we do in Stripe or on our side to make sure this does not happen. I understand proration is not available
the only way i can think of is to implement your own logic to prorate, and refund the user or add to the customer balance the difference
i can't think of any other viable option if you need the billing anchor to start at the end of the month, and allow users to sign up/start any time of the month