Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-stripe-charge with all npm packages installed. Try it out:

node-stripe-charge lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("node-stripe-charge/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-stripe-charge v1.0.0

stripe integration with node and express

Node + Stripe + Express

Build Status

Coverage Status

npm version

This is a template for you to use in your own project for processing one-time Stripe charges. Follow the directions below to get started quickly. You will obviously want to customize this template to meet your needs.

Quick Start

  1. Download - git clone
  2. Install the dependencies - cd node-stripe-charge && npm install
  3. Add Stripe Keys as env variables (see _config.js)
  4. Run mongod in a seperate terminal window
  5. Run the app: npm start or gulp

The database is seeded with an admin user - username: / password: admin


  1. Run - gulp test and/or istanbul cover _mocha -- -R spec


  1. Refactor passport
  2. Update user profile page.
  3. Update admin page. Add charts, graphs, sortable table(s), etc.
  4. Add more tests.
  5. Handle erros better.
  6. Add more products. Add ability for admins to add products.
  7. Add transaction emails via mailgun.
  8. Use Bower for managing dependencies.
  9. Fix message flashing.


  1. 04/23/2015 - major refactor
  2. 03/11/2015 - updated to Express 4.x


Main Page


Charge Page


Successful Charge


Admin Page



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free