Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Haycamp: A demo Chargify app
tree: 1e6cce4686

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
public
script
test
vendor/gems
.gitignore
README.textile
Rakefile

README.textile

Haycamp – a Chargify demo

About

Haycamp is a demo using the Chargify

Setup

Create Database

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. Exact details shouldn’t matter.

To-do

Add tests

Something went wrong with that request. Please try again.