A mini e-commerce application built with Rails 4.2 for purposes of learning Rails by example.
- create .env file
STRIPE_PUBLISHABLE_KEY= PLACE KEY HERE
STRIPE_SECRET_KEY= PLACE KEY HERE
ADMIN_USERNAME= PLACE USERNAME HERE
ADMIN_PASSWORD= PLACE PASSWORD HERE
SECRET_TOKEN_KEY_BASE= PLACE SECRET HERE
- Use Credit Card # 4111 1111 1111 1111 for testing success scenarios.
- your expiry date can be anything in the future
- 3 digit code can be anything
More information in their docs: https://stripe.com/docs/testing#cards
bin/rails server
bin/rails s -b 0.0.0.0
localhost:3000