#justinh_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1414644352525013052
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello there
Mostly this is just a limitation of using the Customer Portal. This is a more complex type of upgrade that actually involves a Subscription Schedule which isn't supported in the Customer Portal if you want to maintain the trial period until the end and then upgrade.
So you would need to build your own UI here as really the Customer Portal doesn't handle this use case currently.
I can put in a feature request here as I can see how this would be useful. But can't gurarantee any sort of timeline on when this would be supported.
Thanks. Yeah, a feature request would be awesome even if it won't help me:)
Would the Subscription Schedule handle the various calculations (prorate, billing dates, etc) so I can provide similar information as the portal does currently (i.e. "You'll be billing $X on <date>...") or do I need to do that myself?
You would Create Preview Invoice using https://docs.stripe.com/api/invoices/create_preview?api-version=2025-08-27.preview to handle that and display the relevant data in your UI