#Mia-Firebase
1 messages · Page 1 of 1 (latest)
Hi, thank you for your reply. I'd like to know if I can also set n day free trial before subscription using the Firebase extension
With the extension it seems like we can have a subscription system but I wonder if it's possible to set a free trial before the payment starts
👋 Stepping in for Jack and give me a few mins to catch up
How are you creating Subscription? And is it via Checkout as in the README? https://github.com/stripe/stripe-firebase-extensions/tree/master/firestore-stripe-payments
Yes, I'm now trying to do with Stripe Checkout
Could you show me your current code to create a Checkout's Subscription?
Oh sorry I meant I'd like to do what I'd like to have (subscription with n day free trial) with the Firebase Stripe extension and Stripe Checkout, and I haven't written code and configured for the extension yet.
I wanted to make sure if it's possible before I dive into it
I see, let me check the extension code
Thank you so much, I appreciate your help
It is not very flexible like using Stripe API directly, but yes it's possible: https://github.com/stripe/stripe-firebase-extensions/blob/master/firestore-stripe-payments/POSTINSTALL.md#handling-trials
Thank you, and for the trial date itself I can set it on the dashboard of Stripe? https://dashboard.stripe.com/test/products?active=true
Yeah
Sounds good.
And do you know if we can also send customers reminder n days before the trial end date?
3 days before a trial end we will send you a webhook event customer.subscription.trial_will_end You can listen to this event and send reminder to your customers accordingly
Also there is a setting to directly send a reminder email to your customer 7 days before trial ends
It's all explained here: https://stripe.com/docs/billing/subscriptions/trials
Thank you, but does that still work well with the extension as well?
Yes it should. The extension is just a layer calling Stripe API under the hood
Thank you very much for your help. I'll try.
If I wanted to reopen this thread how I can do it?
You can request on the channel, any of my colleague should be able to
Awesome. Thank you!