I'd highly recommend using Chargify instead of manually talking to a
gateway. Their gem exposes their JSON API as an ActiveModel resource, so you
can literally do, on account creation:

    subscription = Chargify::Subscription.new(credit_card_info_etc)
    if !subscription.save
      raise ActiveRecord::Rollback
    else
      update_attributes!(
        :subscription_id => subscription.id,
        :customer_id => subscription.customer.id
      )
    end

And then they handle all the ongoing billing. It's awesome. And cheap: if
you have above 10 subscriptions it's about $1/subscription/month, and
cheaper the more you have.

(Not affiliated of course, I just like them a lot.)

Ben


On 29 November 2010 13:22, Carl Woodward <[email protected]> wrote:

> http://spreedly.com/ works really well.
>
> Although I like using API.
>
> What is everyone doing for PCI DSS? Does everyone know what that
> is/aware of how it effects them?
>
>
>
> On Mon, Nov 29, 2010 at 11:17 AM, Bodaniel Jeanes <[email protected]> wrote:
> > I can't recommend payment express highly enough. We had a fantastic
> > experience with them, and their support is on our time zone (new
> > Zealand, actually)
> >
> > Sent from my iPhone
> >
> > On 29/11/2010, at 10:15 AM, Myles Eftos <[email protected]> wrote:
> >
> >>
> >>
> >>> Ok sorry, what I meant ask is what combination of lib and payment
> gateway is the ducks nuts?
> >>>
> >>> active merchant / dps?
> >>>
> >>> Cheers
> >>>
> >>> Rufus
> >>>
> >>
> >> I don't know about ducks nuts, if you use my or Jason Stirk's forks of
> Active Merchant, you can use Eway's new Recurring and Managed API. Don't use
> the rebill API though, as you have no way of knowing when a payment has
> occurred (nor more importantly failed). Use managed payments, and a cron job
> - it'll give you more control over what happens.
> >>
> >> Basically you create a customer, this gives you a token which you use to
> create payments.
> >>
> >> http://www.eway.com.au
> >> https://github.com/madpilot/active_merchant/ and the "documentation" ;)
>
> https://github.com/madpilot/active_merchant/blob/master/lib/active_merchant/billing/gateways/eway_token.rb
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups "Ruby or Rails Oceania" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> [email protected]<rails-oceania%[email protected]>
> .
> >> For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
> >>
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<rails-oceania%[email protected]>
> .
> > For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rails-oceania%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to