#empz_docs

1 messages ยท Page 1 of 1 (latest)

viscid valeBOT
#

๐Ÿ‘‹ 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.

mystic bronze
#

๐Ÿ‘‹ happy to help

heavy jetty
#

That was quick.

heavy jetty
#

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',
  }
);
mystic bronze
#

correct

heavy jetty
#

That should work, thanks. Sorry I missed this doc. part.

mystic bronze
#

no worries, let me know if you need any more help

heavy jetty
#

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.