#rad_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/1361321261816479956
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I'd like to have the payments collected automatically as they add the payment information and continue with automated collection.
I'm not sure I understand this part
You cna create a Subscirption with trial, and then configure the Subscriprion to cancel if there is none provided:
https://docs.stripe.com/billing/subscriptions/trials#create-free-trials-without-payment
sure. I'm looking for a programmatic solution for setting up a subscriptions that start on a certain date, e,g 16th April, but gives customers some time to add in the payment method.
I want to avoid subscriptions being cancelled because payment couldn't be made because of missing payment method information.
I thought I would create a trial for e.g 14 days, but that will move the billing periods and these 14 days would be free.
I thought I would create a trial for e.g 14 days, but that will move the billing periods and these 14 days would be free.
Yes the 14 days will be free. What you can do is to ask your customer to collect the PaymentMethod (using Checkout Session) for example
then you create a Subscription with that collected Payment Method and you backdate the Subscription creation
In other words, you don't create the Stripe Susbcription object unless you have the PaymentMethod collected from the Customer.
Can I use a manual invoice? That will send the invoice with a payment link to the customers, right? Then, that would make them add the PM as well, right?
I'd like to process and track all the subscriptions on the platform. Maybe sending first invoice as manual would work here
Can I use a manual invoice? That will send the invoice with a payment link to the customers, right? Then, that would make them add the PM as well, right?
Yes, you can create a Subscription with manual collection:
https://docs.stripe.com/api/subscriptions/create#create_subscription-collection_method
That will create an invoice and it will be sent with the customer
You can configure 14 days as due period:
https://docs.stripe.com/api/subscriptions/create#create_subscription-days_until_due
How then I can switch to automatic collection?
You make a Subscription update then
https://docs.stripe.com/api/subscriptions/update#update_subscription-collection_method