cancel
Showing results for 
Search instead for 
Did you mean: 

testing eChecks with aim

Hi all,


When I do a test echeck submit - I get back:

code 3
sub code 2
reason code 13
-
The merchant API Login ID is invalid or the account is inactive.

 

I am using the same login that works fine for credit cards...

 

Q: Why am I getting this and how do I fix it? Do I need to set something in my sandbox account?

 

 

 

require_once 'anet_php_sdk/AuthorizeNet.php';
$api_login_id = 'xxx';
$transaction_key = 'xxx';


$sale = new AuthorizeNetAIM;
$sale->amount = "2.00";
$sale->setECheck(
'121042882', // bank_aba_code
'123456789123', // bank_acct_num
'CHECKING', // bank_acct_type
'Bank of Earth', // bank_name
'Jane Doe', // bank_acct_name
'WEB' // echeck_type
);
$response = $sale->authorizeAndCapture();

 

 

coolcat
Contributor
1 REPLY 1

There an example on

anet_php_sdk-1.1.8.zip\anet_php_sdk\README.html

RaynorC1emen7
Expert