/react-express-stripe

💰 Minimal Boilerplate for Stripe used in React and Express. Charge payments from your customers with this project.

Primary LanguageJavaScript

Minimal Boilerplate for Stripe used in React and Express

Build Status

Installation

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

Stripe Registration and API Keys

  • Register at Stripe and Setup a Payment Account to access the Dashboard
  • Find your API Keys (test_, live_)
  • Replace frontend API keys: frontend/src/constants/
  • Replace backend API keys: backend/constants/

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