Git Product home page Git Product logo

oryoffe / gcf-stripe-functions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wikipediabrown/gcf-stripe-functions

0.0 1.0 0.0 11.75 MB

These are JavaScript functions utilizing the NPM packages Stripe, Firebase and Google Cloud Datastore, that run on Google's Cloud Functions platform. The cloud functions are examples of using off the shelf authentication technology to validate and secure payment transactions using Stripe and Firebase.

JavaScript 100.00%

gcf-stripe-functions's Introduction

Google Cloud Functions for Stripe & Firebase

GCF Stripe Functions is a collection of Google Cloud functions (Cloud functions run on Node.js). These functions interact with the Stripe API via the Stripe NPM module. All interactions with the functions are authenticated or validated. In the case of client facing functions, all interactions are authenticated via secure token. The functions use encrypted tokens to authenticate all interactions, then they exchange the user ID obtained from the decoded token to obtain a Stripe customer ID from Google Cloud Datastore. Data store with Cloud Datastore is encrypted at rest and in transit. Some of the functions help to add required data to a customer record in order to allow charges using just a customer record which in turn is stored for the user and is only retrievable with a valid authentication token.

Why?

I wanted to create a serverless framework for Stripe that's secure and easy to use.

Support

For questions, email [email protected]

License

MIT LICENSE Copyright © 2017 [email protected]

gcf-stripe-functions's People

Contributors

wikipediabrown avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.