roger5 Posted December 13, 2008 Share Posted December 13, 2008 If you are in test mode with Authorize.net, you are using their AIM system (which they say has now become mandatory), and you have SSL; ...and if when putting through a test order and during credit card processing you get an error with text similar to: "[TEST MODE] Error: either the merchant ID or password is wrong..." ...then here is what fixed this problem for me. In the authorizenet_aim.php program file, there is a URL specification that checks if you are in test mode, and if so, then uses the line $URL = 'https://test.authorize.net/gateway/transact.dll' But if you have switched "test off" then it instead uses the line $URL = 'https://secure.authorize.net/gateway/transact.dll' Well, in my case, I have to use ..."secure.authorize.net"... (the 2nd version above) in both cases - for "test" as well as for "test off". This is because they have my account interface on their main server ("secure.authorize.net") instead of on their "test" server - which is where the first URL is pointing. So if you are being driven crazy by this error, then just try changing the line in authorizenet_aim.php from ..."test.authorize.net"... to ..."secure.authorize.net"... and use that for both testing and when you go live. Apparently, they are using their main server now even for "test mode" - at least they are for me. - Roger Quote Link to comment Share on other sites More sharing options...
roger5 Posted December 13, 2008 Author Share Posted December 13, 2008 I forgot to mention in prior post that the line in authorizenet_aim.php where the offending line of code had to be corrected is at about line 280. Incidentally, I only became aware of this solution because, by chance, I happened to finally speak with a tech support agent at Authorize.net who actually knew what he was talking about. Each of the agents I had spoken to earlier didn't have a clue and claimed the problem wasn't theirs. So, if you are an Authorize.net customer and have a problem getting their tech support to be helpful (always PHONE them, NEVER rely on their on-line support except on weekends), just hang up and redial 1-877-447-3938 option 1, then 4. If you're lucky, on the next call you'll get someone else to help you, hopefully someone as smart as the guy I finally got. - Roger Quote Link to comment Share on other sites More sharing options...
sgoldbaum Posted December 26, 2008 Share Posted December 26, 2008 Thank you so much for this fix! I've been having the same trouble with the SIM module as well and this worked perfectly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.