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 )
โ07-31-2012 02:06 PM
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.
โ08-02-2012 03:37 PM