#alongsy_code
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/1222526703247687720
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
What you're describing is a more complex billing integration not possible with Checkout, and solved by a Subscription Schedule: https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#downgrading-subscriptions
You can schedule the change at a specific timestamp or after X number of iterations
In your example, you'd have a phase for the price/item to start and immediately, then an additional phase to start on X for the additional item(s)
So the only way to make this possible without to much changing of existing implementation would be starting a subscription via stripe checkout SDK with the one-time buy product. After initial purchace + Webhook to create an additional subscription via Stripe SDK for the monthly subscription with a future start date? Is that correct?
Well you can't start a subscription with a non-recurring item. So if the initial 'payment' is one-time, then there'd be no associated subscription
But yes, otherwise what you describe is correct
You'd have the one-time fee via Checkout, then create the Subscription for the recurring item async with a future start date
Ok, thanks you.