cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Aim doesn't work in production mode. (ruby)

Everything works fine in development mode! Fake transactions were successful, and I got receipts from Authorize.Net. But when I used the real login id and transaction key in production, it didn't work. I called Authorize.Net, they said the transaction never hit their system and said I need to post to their live url instead of test url. I followed tutorials from other websites and none of them tells to set up urls for Authorize.Net. I tried to read the docs on authorize.net , but they are just confusing to me.

 

  This is my production.rb. Thank you!

 

ActiveMerchant::Billing::Base.mode = :production 
::GATEWAY = ActiveMerchant::Billing::AuthorizeNetGateway.new(
:login => HADEAN_CONFIG['authnet']['login'],
:password => HADEAN_CONFIG['authnet']['password'], :test => false )
otchkcom
Member
1 REPLY 1

otchkcom

 

Your code sample doesn't include the URLs you are using for test and production.  Adding that information might help further troubleshoot your issue.

RichardH
Administrator Administrator
Administrator