Skip to content

FiveGen/wilde-things

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

A tutorial integrating Stripe in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published