github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

maccman / saasy

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 349
    • 20
  • Source
  • Commits
  • Network (20)
  • Issues (1)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Rails SaaS and SSO solution — Read more

  cancel

http://madebymany.co.uk

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

fix nil error 
maccman (author)
Mon Aug 03 07:52:20 -0700 2009
commit  4fe610f45e7a0733900ce0f64813beb033b0f844
tree    636c129aefcdab34163e9fb1e8ad24bc061449dc
parent  7d04b937432323adb3077d657eb92cd5431d883d
saasy /
name age
history
message
file .gitignore Tue Dec 23 15:17:24 -0800 2008 added .gitignore [maccman]
file Capfile Tue Dec 23 15:15:12 -0800 2008 first commit [maccman]
file MIT-LICENSE Tue Dec 23 15:15:12 -0800 2008 first commit [maccman]
file README Sat Jan 17 11:30:16 -0800 2009 Cron job typo in readme [liammonahan]
file Rakefile Tue Dec 23 15:15:12 -0800 2008 first commit [maccman]
directory app/ Mon Aug 03 07:52:20 -0700 2009 fix nil error [maccman]
directory config/ Thu Mar 19 06:30:43 -0700 2009 Updated rails [maccman]
directory db/ Tue Dec 23 15:15:12 -0800 2008 first commit [maccman]
directory doc/ Tue Dec 23 15:38:09 -0800 2008 Corrected screenshot extension [maccman]
directory lib/ Mon Mar 09 10:18:01 -0700 2009 Fixed some issues with subscription renewall ti... [maccman]
directory public/ Tue Mar 10 02:29:43 -0700 2009 Some style tweaks for the signup page [maccman]
directory script/ Tue Dec 23 15:15:12 -0800 2008 first commit [maccman]
directory test/ Tue Dec 23 15:15:12 -0800 2008 first commit [maccman]
directory vendor/ Sat Mar 21 18:46:11 -0700 2009 Cleanup Rails upgrade [maccman]
README
== Welcome to Saasy

Saasy is a Rails app that bills and authenticates, so you don't have to.
The idea is that you host Saasy on a subdomain, and communicate with it using SSO/REST protocols. 
That means you're free to do more interesting coding.

*At the moment this is alpha code - use at your own risk*

I'd like to thank Made by Many (http://madebymany.co.uk) for supporting this project.

Alex MacCaw 

http://eribium.org 
info@eribium.org

== Screenshots
* Billing         - http://github.com/maccman/saasy/tree/master/doc/Saasy_Billing.png
* Sign up         - http://github.com/maccman/saasy/tree/master/doc/Saasy_Signup.png
* Edit profile    - http://github.com/maccman/saasy/tree/master/doc/Sassy_Edit_Profile.png
* Example Invoice - http://github.com/maccman/saasy/tree/master/doc/invoice.pdf

== Overview

* Subscription management
* Recurring billing
* Credit card management
* User authentication and SSO

== Features

* No local credit card storage
* Automated billing script that should be run nightly
* Configurable subscription plans (price/duration)
* SSL protection for account creation (and when updating CC info)
* Account can have multiple users, interface for adding more
* Trial ending mailer
* Invoice mailer
* Automated notification and retry of failed renewals
* Plan upgrade/downgrades
* PDF invoices
* Forgot password retrieval
* OpenID support
* Shared secret SSO
* Credit card verification
* REST API for users and subscriptions

== Getting Started

# cp config/database.example.yml config/database.yml
# cp config/application.example.yml config/application.yml
# cp config/subscription.example.yml config/subscription.yml
# rake db:schema:load
# Setup a cron job to run `rake subs:daily` daily
# configure application.yml
# configure subscriptions.yml
# script/server -p 3001

== Gateways
  
Currently the following gateways are supported:
* Braintree
* TrustCommerce
* PaymentExpress

== Choosing a Gateway

Braintree seems to be a good choice, and they're friendly to Railers to:
* http://groups.google.com/group/rails-business/msg/53da3705df6063a2

== Test transactions

As far as I could tell, Braintree are the only Gateway that lets you
test transactions without signing up.
* http://dev.braintreepaymentsolutions.com/test-transaction/

== SSO (single sign on)

I've implemented a simple SSO using shared secrets.
have a look at lib/sso.rb for more information.

== Gotchas

I've made some extensions to various plugins/libs which I've
yet to push back:

* Extended ActiveMerchant's Braintree and Trust Commerce gateways (see initializers)
* Edited acts_as_state_machine:
  * Added named_scope 'in_state'
  * Stopped it overriding any states I specified before creation
  * Make it update all the attributes on save, not just the state column
* Used the Rails 2.2 version of prawnto (http://github.com/filiptepper/prawnto/tree/master) 
* Edited ssl_requirement so that it's disabled in development/test mode.
* Rails error_messages_for now uses spans, instead of divs, to be standards compliant
* Add a float component to Prawn (see initializers)
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server