#iwynos-adi_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/1484165535947296888
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I want to give my users an option to get a subscription free for 90 days, then i will charge an discounted amount for that subscription monthly for 6 months then eventually they will be moved to normal pricing
Oops yes my mistake!
what you are describing can be done with Subscription Schedules: https://docs.stripe.com/billing/subscriptions/subscription-schedules
Also one doubt is when we create an free trail for a user and make him add card details via stripe elements for future payments
Does at that time we generate an invoice for 0$?
if you use a free trial, then the first invoice will be for $0 yes.
okay which all web hooks i should make my code keep an eye on for this scenrio of free trail
it depends what do you want to know? when the subscription is created? when a new invoice is generated? when the free trial ends? something else?
I want to track down the whole lifecycle from susbcription creation, trail ennd and everthing
then I recommend listening to customer.subscription.created, customer.subscription.updated, and invoice.created, invoice.paid . you can learn more about this here: https://docs.stripe.com/billing/subscriptions/webhooks
Okay!