Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Haycamp: A demo Chargify app

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile

Note – This demo is not up to date with the current chargify gem and API. Please see for the current API documentation.

Haycamp – a Chargify demo

Haycamp is a sample Ruby on Rails app using the Chargify API. You can view the live demo here:


Create Database

cp config/database.yml.sample config/database.yml
rake db:create:all
rake db:migrate

Modify config/initializers/chargify.rb

Add your subdomain and api key credentials to chargify.rb. For use with heroku you can set ENV variables as such

Chargify.configure do |c|
  c.subdomain = ENV['CHARGIFY_SUBDOMAIN']
  c.api_key   = ENV['CHARGIFY_API_KEY']

Add products in Chargify

Add a few products to your chargify test account. Similar setup can be seen in the demo video.



Add tests

Something went wrong with that request. Please try again.