angular-firebase-stripe icon indicating copy to clipboard operation
angular-firebase-stripe copied to clipboard

Full Stack Stripe Payments Solution with Angular + Firebase

Full Stack Stripe Payments with Angular + Firebase

Learn to build a full-stack payment solution with the onboarding course.

Live Demo

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

"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:

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