Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A sample subscription service using Stripe for payments
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
test
vendor/plugins
.gitignore
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

Monospace is a social network for developers. It's our sample Rails application, showing how to use Stripe to charge subscribers.

Monospace uses the Stripe Javascript bindings to validate a credit card, and the Stripe Ruby bindings to create a customer and add the credit card to that customer. Customers can also update their credit card.

You can play with a live version at https://monospace-rails.heroku.com/

Installation steps:
* You will need a publishable token and a secret token. Add them both to config/initializers/stripe.rb.
* Install the bundler gem if you don't already have it
* Run the command "bundle" from the root of this project
* Run the command "bundle exec rake db:setup" from the root of this project
* Run the command "bundle exec rails s"

Something went wrong with that request. Please try again.