#_unexpected
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/1458761187054588105
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
sub_1SnDypGhgCRyoVoaqdq44LeM
while upgarding subscriptions the trial data is not preserved
and can you clairfy what you were expectig to happen instead?
If I have 5 days trial remaining and I upgrade the subscription, I expected the upgraded subscription also to have 5 days trail remaining.
got it, looking into this.
thanks
have you seen this, that let you configure the trial behavior?
https://docs.stripe.com/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update-trial_update_behavior
yes, I have already updated the portal config:
"subscription_update": {
"billing_cycle_anchor": "unchanged",
"default_allowed_updates": ["price"],
"enabled": true,
"proration_behavior": "none",
"schedule_at_period_end": {
"conditions": []
},
"trial_update_behavior": "continue_trial"
}
this is the response while retrieving config for the portal
Hey, taking over here โ catching up
I don't see any updates made on this subscription?
I did not proceed with the update since the UI showed billing date as today even if the current trial period is upto 9th Jan.
Can you share the bps_xxx ID for the portal session?
Also, a screenshot of the UI you're referring to
where can I get this from?
Are you creating the session via the API?
ah yes using stripe package
Then in the response there'll be a bps_xxx ID
I suspect that this might be just a UI bug and the date is wrong, given that 'amount due today' is 0 which implies the trial is still active. Given that this is test mode, can you just try and do the upgrade and let's see what happens?
looks like it is working now, it was not prev.
Sorry for wasting your time.
and thanks for the support.
Everything working as needed?