#phillip_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/1348585482002497567
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Should be configurabe when you create the Checkout Session: https://docs.stripe.com/billing/subscriptions/trials#create-free-trials-without-payment
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The 'subscription should NOT auto-renew' part, that is (e.g. set that param to pause/cancel or something)
Hi @cursive widget,
I already checked this parameter, but it only applies if the user has no payment method attached—my users will always need to attach one. Or am I misunderstanding?
My current thought is to create a $0 subscription, handle the free trial manually via a webhook, and use cancel_at (or similar) to cancel it after 14 days. After that, the user must select a package.
Is there a better way to achieve this?
Then yes you'll need to handle via a webhook and manually pause/cancel the sub. You can use the trial_end timestamp to configure this (i.e. use that timestamp as a basis for when you remove their access)
Do you prefer to cancel the sub, or you could pause it?
Not sure. I'm still trying to fully understand how everything works.
One concern that came to mind is that if I give users access (trial) to the highest tier (which is also the most expensive), they will likely see that high price in the checkout session. I assume Stripe will display something like "14 days free, then €99," which I don’t want—since after the trial, they can also choose a lower-tier package for like €29/month.
So, if I'm thinking correctly, the best option would be to create a €0 subscription and cancel it via webhook. Does that make sense in my case?
If you don't want to print any pricing details and it's just a generic trial for all features then yes that makes sense to have some kind of 'free' plan
Okay, I will try that out and see how it goes. Thank you!
If you don’t mind me asking an additional question:
The product name and description appear in the checkout session, but Stripe doesn’t support translations in the product edit page.
Does this mean I need to create a separate product for each locale? That would be quite cumbersome—not just from a programming perspective but also because it would negatively impact statistics.
Is there a better way to handle this?
Correct, we don't support localisation of product details (name, description, etc) I'm afraid
Okay, got it!