Skip to content

abhijitsinha/chargify-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Haycamp – a Chargify demo

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

Setup

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 http://docs.heroku.com/config-vars.

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

Add products in Chargify

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

Dependencies

To-do

Add tests

About

Haycamp: A demo Chargify app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published