Stripe Card Payment App
Just add the following keys in your .env
file
REACT_APP_STRIPE_PUBLIC_KEY
REACT_APP_STRIPE_SECRET_KEY
Accept a Card Payment
Build a simple checkout form to collect card details. Included are some basic build and run scripts you can use to start up the application.
Running the sample
- Build the application
npm install
- Run the application
npm start
- Go to localhost:3000/
Boom. That's it. You're good to go!