Note – This demo is not up to date with the current chargify gem and API. Please see http://docs.chargify.com for the current API documentation.
cp config/database.yml.sample config/database.yml rake db:create:all rake db:migrate
Add your subdomain and api key credentials to chargify.rb. For use with heroku you can set ENV variables as such http://docs.heroku.com/config-vars.
Chargify.configure do |c| c.subdomain = ENV['CHARGIFY_SUBDOMAIN'] c.api_key = ENV['CHARGIFY_API_KEY'] end
Add a few products to your chargify test account. Similar setup can be seen in the demo video.