Skip to content
πŸ’° Minimal Boilerplate for Stripe used in React and Express. Charge payments from your customers with this project.
JavaScript HTML
Branch: master
Clone or download
Latest commit 9a90bbb Sep 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backend remove npm Sep 7, 2019
frontend no tests Sep 7, 2019
.travis.yml add travis build Dec 28, 2017
LICENSE Create LICENSE Sep 12, 2019
README.md Update README.md Sep 7, 2019

README.md

Stripe Server Checkout with React and Express

Build Status Slack

Screenshot 2019-09-07 at 11 35 07

Installation

  • git clone git@github.com:rwieruch/react-express-stripe.git
  • cd react-express-stripe

Important: Setup works only with backend hosted somewhere reachable via an IP or domain. Stripe's Webhooks are not going to work on a localhost backend. The frontend application can run locally though.

Stripe Registration and API Keys

  • Register at Stripe and Setup a Payment Account to access the Dashboard
  • Find your API Keys:
  • Replace frontend
    • API keys: YOUR_STRIPE_PUBLIC_KEY
  • Replace backend

Frontend

Backend

Usage

When using it in production, you have to use a real credit card. Otherwise, in development mode, you can use a Stripe's test credit cards:

  • Email: Any Email
  • Number: 4242 4242 4242 4242
  • Date: Any Date in the Future
  • CVC: Any 3 Numbers
You can’t perform that action at this time.