Skip to content

NiiMartey/stripe-wilde-things

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wilde Things - A study in PHP

Wilde Things is a website on which you can buy quotes by Oscar Wilde. This is a PHP demo that demonstrates integrating Stripe, originally done for a General Assembly livestream tutorial on November 14, 2012.

The demo is 7 steps and goes from setting up a simple site for accepting one-time payments to a subscription-based service complete with webhook support.

Getting started

To run any of the steps, you will first need to initialize the stripe submodule, which points to the stripe-php client library. To do this, first clone this project, then run:

git submodule init
git submodule update

Then, sign up for a Stripe account at https://stripe.com and replace every instance of <YOUR PUBLISHABLE STRIPE API KEY> and <YOUR SECRET STRIPE API KEY> with your publishable and secret API keys found at https://manage.stripe.com/#account/apikeys.

About

Essentially https://github.com/stripe/wilde-things - but with me playing about with it a bit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published