#bluejeans1619

1 messages · Page 1 of 1 (latest)

mighty boughBOT
sharp mica
#

👋 happy to help

sharp musk
#

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

sharp mica
#

we no longer maintain the stripe firebase extension

mighty boughBOT
sharp musk
#

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

livid aspen
#

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.

sharp musk
#

Ok excellent

#

Why the warning message then?

livid aspen
#

It's a legacy field that will be removed. You should set the trial period at subscription level

sharp musk
#

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?

livid aspen
#

This code isn't Stripe doc

#

can you share the guide you are following ?