views:

18

answers:

1

I have created a test account with Authorize.net and am using ActiveMerchant to process credit card payments for a website. What error I always get is Error#*87 - "Transactions of this market type cannot be processed on this system" mentioned in ActiveMerchant documentations. Any suggestions how to resolve this error ? Following is how i created my gateway. I also checked gateway.test? and it returns true.

 gateway = ActiveMerchant::Billing::Base.gateway(:authorized_net).new(
        :login =>'API Login ID',
        :password =>'Transaction Key',
        :test => true)
A: 

Try

gateway = ActiveMerchant::Billing::AuthorizeNetGateway.new(
                                              :login => 'API Login ID', 
                                              :password => 'Transaction Key',
                                              :test => true)
Salil
Thanks for your suggestions. :). Resolved the problem, the error was in the test account type i took.
alokswain