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.
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.