#bojan_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/1268350768583409718
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You can either create a trial to make up for the time between now and the future billing cycle date, or you can use Subscription Schedules where phase[0] is an unpaid period
Subscriptions Schedules is the recommended path for your use-case though, since it sounds like you have complicated billing intervals
The only complication is that I want the invoices to be issued on the 2nd of the month
So it's a single subscription lasting Aug 20 -> June 10th; but I want the anchors to be on the 2nd on the month
Yes, but the payment on August 30th complicates that
and the first and last month to be prorated
I would still recommend Subscription Schedules to be honest
Why would there be a payment on August 30th? You mean Sept 2?
Sorry, August 20th
So one phase to model the first month, and another phase to model the remaining?
Yup, exactly
sweet
Or even 3 phases, where the small prorated amount of time is phase[1]
Either way would work
sounds good - will try that
fyi, the docs for the anchor in subscription schedule point to the docs for subscription https://docs.stripe.com/api/subscription_schedules/create#create_subscription_schedule-phases-billing_cycle_anchor
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks for the help - I might also end up having a cron job that'll start a subscription on August 20th
will think more, it mostly depends on our reporting
Sure thing! Feel free to pop back in once you test and have more questions. Happy to help