firebase / firebase/functions-samples
Stripe Demo Deploy fails
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 3.8k
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 1
Description
Following the steps from --- https://firebase.google.com/docs/use-cases/payments ...
Running "firebase deploy" returns the following:
i deploying firestore, functions, hosting
i cloud.firestore: checking firestore.rules for compilation errors...
✔ cloud.firestore: rules file firestore.rules compiled successfully
i functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i functions: ensuring required API cloudbuild.googleapis.com is enabled...
✔ functions: required API cloudfunctions.googleapis.com is enabled
✔ functions: required API cloudbuild.googleapis.com is enabled
i functions: preparing functions directory for uploading...
i functions: packaged functions (46.57 KB) for uploading
i firestore: latest version of firestore.rules already up to date, skipping upload...
✔ functions: functions folder uploaded successfully
i hosting[stripe-demo1]: beginning deploy...
i hosting[stripe-demo1]: found 2 files in public
✔ hosting[stripe-demo1]: file upload complete
✔ firestore: released rules firestore.rules to cloud.firestore
i functions: updating Node.js 12 function createStripeCustomer(us-central1)...
i functions: updating Node.js 12 function addPaymentMethodDetails(us-central1)...
i functions: updating Node.js 12 function createStripePayment(us-central1)...
i functions: updating Node.js 12 function confirmStripePayment(us-central1)...
i functions: updating Node.js 12 function cleanupUser(us-central1)...
✔ functions[createStripePayment(us-central1)]: Successful update operation.
✔ functions[confirmStripePayment(us-central1)]: Successful update operation.
✔ functions[addPaymentMethodDetails(us-central1)]: Successful update operation.
Functions deploy had errors with the following functions:
createStripeCustomer(us-central1)
cleanupUser(us-central1)
To try redeploying those functions, run:
firebase deploy --only "functions:createStripeCustomer,functions:cleanupUser"
To continue deploying other features (such as database), run:
firebase deploy --except functions
However, running the suggested fixes above does not resolve the issue.
Contributor guide
Assessment
This issue has not been assessed yet.