#empz_docs
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/1349690577477828689
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
That was quick.
So simply updating the subscription to trial_end: 'now' will attempt to charge the full price automatically if payment was already collected?
const subscription = await stripe.subscriptions.update(
'{{SUBSCRIPTION_ID}}',
{
trial_end: 'now',
}
);
correct
That should work, thanks. Sorry I missed this doc. part.
no worries, let me know if you need any more help
Going to try now on my test environment. I suspect I won't need any more help, but I'll let you know. Thank you again for the super quick answer.