Giter Club home page Giter Club logo

plaid-stripe-app's Introduction

Plaid-Stripe integration

Stripe resources

Stripe Docs, Stripe Keys

Plaid resources

Plaid Docs, Plaid Keys


Configuration

Setup

git clone https://github.com/romansorin/plaid-stripe-app.git
cd plaid-stripe-app

# Install all necessary dependencies, these can be found in package.json
npm install

.env

Create a .env (dotenv) file in the root directory (i.e., where you find index.js) and configure the following variables. These ensure your keys are secure and never shared in commits:

APP_PORT=3000
PLAID_CLIENT_ID=yourCID
PLAID_SECRET=yourSecretEnvironment
PLAID_PUBLIC_KEY=yourPK
PLAID_ENV=yourEnv

STRIPE_SECRET_KEY=yourSK

index.js

/* You'll also want to take a look at the method for creating Stripe customers, and configure
   as needed.
   --------------
   This is just a sample method which successfully creates a customer
   You can modify the fields which are stored automatically, refer to https://stripe.com/docs/api/customers/object
*/
stripe.customers.create({
  // ...
});

views/billing.ejs

/* Next, configure as needed:
*/
env: 'sandbox', // sandbox, development, production
clientName: 'Stripe + Plaid Test', // Change this to whatever you want
key: 'yourPublicKey' // This is your Plaid PUBLIC KEY

Terminal:

# If running or testing locally, type in console:
node index.js

# Go to http://localhost:[APP_PORT]

# Otherwise, see how your hosting provider handles Node.JS apps.

If you have any questions, feel free to email me at [email protected]. If needed in the future, I provide hosting services, design, and website/software development at romansorin.com

plaid-stripe-app's People

Contributors

romansorin avatar

Stargazers

 avatar

Watchers

 avatar  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.