Closed tseven closed 11 years ago
Hi,
There may be some confusion here. There is a difference between doing "test mode" on a live account using the live server, and actually have a "sandbox account" on the sandbox server.
The modude had been changed to be able to use a sandbox account while testing, which is why the lines were commented out. You're getting an error using "test.authorize.net" because that's the sandbox server and that server would be unaware of your "real" account credentials. In order to use that server, you would have to sign up separately for a test account (which anyone can do) and then you'd be using those credentials, not your regular ones, with that server.
There are two issues with the current version of authorize_dot_net_aim.php
1 The if statement for adding the testing flag is commented out on lines 203-204
2 This may be related only to my account, but posting to https://test.authorize.net/gateway/transact.dll while in test mode results in the error:
"The merchant login ID or password is invalid or the account is inactive."
See: http://support.authorize.net/authkb/index?page=content&id=A415&pmv=print&impressions=false
Changing the url to read: https://secure.authorize.net/gateway/transact.dll
and uncommenting the above mentioned if statement fixes the issue.