#peelrookie
1 messages · Page 1 of 1 (latest)
I know that we need something like subscription schedules, but not sure how to implement that behaviour using billing portal sessions
Hello! Are you upgrading/downgrading to/from Prices that have the same interval, or different intervals?
mmm we support yearly and monthly prices
but we could make a workaround if there is some constraints on that
Well, I don't think it'll be possible really. For updates to the Subscription the Portal is going to change the Subscription immediately. If they were canceling, not upgrading or downgrading, the at_period_end configuration you mentioned would apply, but that's not what's happening.
If you want this flow you'll likely need to not use the Portal and build your own UI for downgrading, which is powered by Subscription Schedules as you mentioned under the hood.
understood! thank you!