#xxxhug_best-practices
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/1379058404567285861
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
you can use the billing_cycle_anchor on the subscription_data https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-subscription_data-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.
Thank you!
Btw, are there any options to charge customers imidiately, but subscription will start later?
not with the Checkout Session
Can you give some tips how I can do that?
but are there options to pay now but start subscription later?
you'd have to manually create a flow, where you let the customer pay a normal one-off payment (this could be using Checkout or any other flow) and then you can add to the customer's credit balance the amount that was paid https://docs.stripe.com/invoicing/customer/balance and then you would use the subscription schedule to start the subscription in the future
Okay, thank you for the advice