We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firestore-stripe-payments
When I'm adding checkout_sessions, it is threwing this error in the createCheckoutSession functions:
checkout_sessions
createCheckoutSession
❗️[Error]: Checkout session creation failed for doc [id]: Cannot read properties of null (reading 'client_secret')
Steps to reproduce the behavior, please provide code snippets or a repository:
const docRef = await db .collection("users") .doc(currentUser.uid) .collection("checkout_sessions") .add({ client: "mobile", price: priceId, trial_period_days: STRIPE_TRIAL_PERIOD_DAYS, });
It should create the Checkout Session and add ephemeralKeySecret & paymentIntentClientSecret in the checkout_sessions doc
ephemeralKeySecret
paymentIntentClientSecret
If applicable, add screenshots to help explain your problem.
The error is throwing from here I believe :
stripe-firebase-extensions/firestore-stripe-payments/functions/src/index.ts
Line 318 in 6c5966d
client_secret
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
firestore-stripe-payments
Describe the bug
When I'm adding
checkout_sessions
, it is threwing this error in thecreateCheckoutSession
functions:To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
It should create the Checkout Session and add
ephemeralKeySecret
&paymentIntentClientSecret
in thecheckout_sessions
docScreenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
The error is throwing from here I believe :
stripe-firebase-extensions/firestore-stripe-payments/functions/src/index.ts
Line 318 in 6c5966d
Maybe
client_secret
is null here somehow..The text was updated successfully, but these errors were encountered: