#bluejeans1619
1 messages · Page 1 of 1 (latest)
👋 happy to help
Hey!
I've followed all the necessary stripe firebase extension setup and it all seems to work
But just this query about the trial period and coupons when creating checkout sessions with this method
we no longer maintain the stripe firebase extension
please reach out to the new maintainers https://github.com/invertase/stripe-firebase-extensions
Ok understood
Maybe you can help me with the following
This free-trial checkbox on the price configuration page does allow me to include a free trial in this way. Are there any major issues with using this?
@sharp mica
Hey! Taking over for my colleague. Let me catch up.
Are there any major issues with using this?
No, I invite you to do tests.
It's a legacy field that will be removed. You should set the trial period at subscription level
And it seems any edits to the
"payment portal" on the Stripe Dashboard doesn't affect the checkout session when initiating it with the following code:
const checkoutSessionRef = await addDoc(collection(db, 'users', uid, 'checkout_sessions'), {
price: 'price_KEY',
success_url: window.location.origin,
cancel_url: window.location.origin,
});
How do I manage the payment portal through this method?