A tutorial integrating Stripe in PHP
Switch branches/tags
Nothing to show
Pull request Compare This branch is 27 commits behind stripe:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Step1
Step2
Step3
Step4
Step5
Step6
Step7
public
stripe
.gitignore
.gitmodules
README.md
config.php

README.md

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.