Skip to content

kaufmanhenry/insta-stripe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

insta-stripe 💳

Instant, deployable Stripe payment gateways.

A demo can be found here.

Usage 🤑

You can deploy this repository instantly using now.

now hcjk/insta-stripe

This will walk you through deploying insta-stripe, and will allow you to set the variables

Using a .env file 🤓

A .env file can be used to configure the variables. An example .env file looks like this:

# The person that's paying the money
paymentPerson=someone
# Amount in cents
paymentAmount=100
# A description for the payment
paymentDescription=design
# A stripe public key
stripePublicKey=STRIPE_PUBLIC_KEY
# A stripe secrey key
stripeSecretKey=STRIPE_SECRET_KEY

Development 💻

git clone https://github.com/hcjk/insta-stripe.git

Duplicate .env.example to .env and update the values accordingly.

yarn
yarn start

The server will be running at localhost:3000.

License

Copyright (c) 2017 Henry Kaufman, licensed under the MIT license. See LICENSE for more information.