Bug report
- Extension name:
firestore-stripe-payments
Describe the bug
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
Screenshots
