#iamajoe_api
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/1361328123513405581
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- iamajoe_api, 2 days ago, 40 messages
- iamajoe_api, 3 days ago, 22 messages
hello
hey!
i basically want on the configuration to force the user to wait for period end. I am not being able and it is changing
Hi, I suspect you'd want to set https://docs.stripe.com/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update-schedule_at_period_end on the billing portal configuration.
Can you try that and create a new session please?
Then, expalin exactly what you expect to happen vs. what you're seeing
Why am I here?
i set it. this is my subscription_update on the configuration:
enabled: true,
proration_behavior: 'none',
default_allowed_updates: ['price'],
schedule_at_period_end: {
// NOTE: schedule to period end when shortening the time
conditions: [
{
type: 'shortening_interval',
},
],
},
@eternal granite I don't know why I'm here in the first place, but I have a question.
and as you can see it is starting next month. not waiting for 2026, the period end of the current plan
What yearly price was this on?
if we multiply the monthly by 12 it will be more expensive than the yearly. let me grab the value...
business yearly is $1188 per year
business monthly is $119 per month
the customer for the portal is currently on business yearly
customer id: cus_S81rBhWlU9p63e
next invoice on Apr 14, 2026
so i was expecting on this screenshot, on this billing portal url, to have the data for Apr 14, 2026
Still investigating this on my end
ok ok thanks
for me, if possible to force the period end would be great because on code i already have control if a downgrade or an upgrade
I tested this on my end. You'd need to pass the prices monthly and yearly on the subscription update field, https://docs.stripe.com/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update-products on the same product.
Are you able to try?
I recommend that you start with creating a new billing configuration instead of updating teh existing one
reading...
so you are saying that my products should have one price for monthly and other for yearly?
i rather have separate products also that case works within the same product yearly vs monthly but what if i am passing between products, wont the problem still be there?
There are some limitations on the Portal that we document here, https://docs.stripe.com/customer-management#customer-portal-limitations
Let me test an instance with different products and confirm
Yeah, that seems to be the limitation. I'll share your feedback to allow the update conditions work with multiple products.
ok thank you for the help
Sure