#daniel-nissenbaum_api

1 messages ยท Page 1 of 1 (latest)

versed fableBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

subtle comet
#

Hello

#

You want the Subscription to actually be created in the future? Or you want the billing anchor to be in the future but it start now?

small notch
#

Not sure about the nuance there

#

Have small (~100 or so) users still being billed in our old subscriptions method. They are coming up for renewal in a couple of weeks so i would like those renewals to happen on stripe

subtle comet
#

Then it will start billing at the end of the trial period

#

In terms of the PaymentMethod, yes if you set a PaymentMethod as the default for the Customer using invoice_settings.default_payment_method then that will be charged

small notch
#

ok sounds great

#
stripe subscriptions create --customer=cus_Q2a86NpRjjy142 -d "items[0][price]"=price_1NC4wPJmq474uon8gtcPKlDJ --trial_end=1715007994
#

does that command look right to you?

#

is there anything i am missing?

subtle comet
#

Looks fine afaict, but always recommend testing it out in test mode

small notch
#

yep, def going to run it in test mode!

subtle comet
#

๐Ÿ‘

small notch
#

unknown flag: --trial_end

subtle comet
#

Ah it is a param

#

You need -d