#alex_webhooks
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/1304093522344804426
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! I'd have to test it but I think if in the same Update Subscription API call you pass your new items and trial_end=<end of trial> it will carry on the trial without forcing a payment
but the default would be that we do an immediate payment otherwise, yes
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade#immediate-payment
Stripe immediately attempts payment for these subscription changes:
From a subscription that doesn’t require payment (for example, due to a trial or free subscription) to a paid subscription
So right now, when a customer first purchases a subscription, I'm adding session_params['subscription_data'] = {'trial_period_days': 14} to their subscription. But if they then go in to the customer billing portal and change subscriptions before these 14 days have passed, is there any way I could have the remaining trial days stay? Just hoping to be able to automate this as we allow users to manage their own plans with the billing portal and don't necessarily make the api calls ourselves when updating a subscription so I'm not sure if I could pass that trial_end
ah if it's through the CustomerPortal then no :
https://docs.stripe.com/customer-management#customer-portal-limitations
Customer modifications to a trialing subscription will end the free trial and create an invoice for immediate payment.