💰 Minimal Boilerplate for Stripe used in React and Express. Charge payments from your customers with this project.
MIT License
Deprecated due to SCA: A full walkthrough tutorial of implementing this boilerplate project.
SCA ready Tutorials:
git clone [email protected]: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.
YOUR_STRIPE_PUBLIC_KEY
YOUR_STRIPE_SECRET_KEY
YOUR_STRIPE_WEBHOOK_SECRET
cd frontend
npm install
npm start
cd backend
npm install
npm start
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: