#bhanu-subscription-billingcycle
1 messages · Page 1 of 1 (latest)
bhanu-subscription-billingcycle
@alpine hearth our Subscription used the Price's interval for the billing cycle which is exactly what you are trying to do. You likely misconfigured your Price. You need to make sure one Price is a yearly Price and the other one is a 6-month Price.
I would like to provide users with the flexibility to make recurring monthly payments for their subscription while ensuring that they understand the duration of the subscription. When users select the 12-month subscription option, it's important that the end date reflects a duration of approximately one year, rather than being calculated solely based on the monthly interval.
Gotcha so you basically have a "commitment" to a duration for a monthly Price? If so, Stripe has no such concept in the API of a "real end date" of a Subscription. You can model this on our SubscriptionSchedules API https://stripe.com/docs/api/subscription_schedules but this isn't something that will be reflected in various UIs where we mostly treat the Subscription as a purely monthly Subscription
Okay, in that case, it seems we need to handle this situation internally on our end. We will need to implement a custom solution to ensure that the end date of the subscription reflects approximately one year from the start date, regardless of the chosen payment frequency.