项目
在 GitHub 查看 
rwieruch/react-express-stripe
关于
💰 Minimal Boilerplate for Stripe used in React and Express. Charge payments from your customers with this project.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Stripe Server Checkout with React and Express

Deprecated due to SCA: A full walkthrough tutorial of implementing this boilerplate project.
SCA ready Tutorials:
Installation
git clone [email protected]:rwieruch/react-express-stripe.gitcd 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
- API keys:
- Replace backend
- API keys:
YOUR_STRIPE_SECRET_KEY - Webhook secret:
YOUR_STRIPE_WEBHOOK_SECRET
- API keys:
Frontend
cd frontendnpm installnpm start- visit http://localhost:3000/
Backend
cd backendnpm installnpm start- visit http://localhost:8888/
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
探索相关项目
加载中…