#taiskleinn-trial-periods
1 messages · Page 1 of 1 (latest)
Hi there!
When you say "I added it 7 days free to the priceID of a subscription product" can you specify exactly where you added the trial period?
Overall, if you are using Checkout then the correct place to add the trial is here: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_period_days
Is that where you are currently adding the trial?
I added here, on "edit priceId"
And if I add there, if a customer buys Plan A the first time and gets 7 days free and later the plan ends and he buys the same plan A again, will he get 7 days free again?
Gotcha, yeah this is the legacy way of adding a trial period. If your customer starts a new Subscription using that Price then yes they would get a 7 day trial again.
But they won't get a 7 day trial on each renewal of the Subscription
Thank you! I will change for this other way then. And how can I prevent this from happen? is there any way on stripe to know if that customer has already purchased that plan and not give the 7 days free again?
No you would need to write code to check that yourself.
Thank you!