Is anyone using ActiveMerchant currently?
I’ve seen it recommended on this list several times, but it seems kind
of buggy and incomplete and I’m having trouble getting it to work.
From the example at http://home.leetsoft.com/am/, I’ve tried:
gateway = ActiveMerchant::Base.gateway(:authorized_net)
response = gateway.capture(1000, creditcard)
…but it doesn’t work (uninitialized constant Base). I had to modify
the above to add the module name:
gateway = ActiveMerchant::Billing::Base.gateway(:bogus)
response = gateway.capture(1000, creditcard)
I’m currently getting an error like:
undefined method `authorize’ for
ActiveMerchant::Billing::BogusGateway:Class
Though the method is implemented in both the bogus and base classes. I
have this installed as a plugin from svn for rails 1.1 under ruby
1.8.4. Just wonder if there’s a really obvious solution that I’m
missing.
Thanks!
-Pawel