You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to call the function await createCheckoutSession(payments, { price: priceId, // One-time price created in Stripe }); after setting up the firebase extension. Customer and Product collections are properly set and working as expected except the createCheckSession.
Encountered the error: Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore
To Reproduce
Simply call the createCheckoutSession by following the "How this extension works" documentation from firebase extensions
Expected behavior
I should be able to get the session url from the method