Extracted from https://github.com/travis-ci/travis-crowd
In order to run this you'll need an account at Stripe and set the tokens to your environment:
STRIPE_PUBLIC_KEY=pk_test_[something] STRIPE_SECRET_KEY=sk_test_[something] rails s