Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codediodeio/angular-firebase-stripe

Full Stack Stripe Payments Solution with Angular + Firebase
https://github.com/codediodeio/angular-firebase-stripe

Last synced: 1 day ago
JSON representation

Full Stack Stripe Payments Solution with Angular + Firebase

Awesome Lists containing this project

README

        

# Full Stack Stripe Payments with Angular + Firebase

Learn to build a full-stack payment solution with the [onboarding course](https://projects.angularfirebase.com/p/stripe-payments-with-angular-and-firebase).

[Live Demo](https://stripe-elements.firebaseapp.com)

## Cloud Functions v1.0 Changes

https://firebase.google.com/docs/functions/beta-v1-diff

There is curretly bug preventing the CLI from reading Env vars in Node. As a workaround, add your Stripe API keys to credentials.json

```json
"stripe": {
"publishable": "foo",
"secret": "bar",
"clientid": "baz"
}
```

## Common Error on Windows

**Running command: npm --prefix "$RESOURCE_DIR" run lint**

If you see this error, change your predeploy scripts in your `firebase.json` to:

```json
{
"functions": {
"predeploy": [
"npm --prefix ./functions/ run lint",
"npm --prefix ./functions/ run build"
]
}
}
```