Showing results for 
Search instead for 
Did you mean: 

AIM - Merchant Login ID or Password is Invalid or the Account is Inactive



We are using AIM API. With test account and test cards the payment process was working well. Since we launched the live site, and changed the API User ID and Transaction key for the live one, the payment process does not work, and we are getting the error message:  "Merchant Login ID or Password is Invalid or the Account is Inactive"


We are using PHP, and the payments module from Codeigniter. 


Here is the XML request we are posting to the



string(1047) "<?xml version="1.0" encoding="utf-8"?><createTransactionRequest xmlns:xsi="" xmlns:xsd="" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication><name>chopra75112</name><transactionKey>********a2tFUv6z</transactionKey></merchantAuthentication><transactionRequest><transactionType>authCaptureTransaction</transactionType><amount>49.99</amount><payment><creditCard><cardNumber>******758587658765</cardNumber><expirationDate>102013</expirationDate><cardCode>***</cardCode></creditCard></payment><transactionSettings><setting><settingName>allowPartialAuth</settingName><settingValue>true</settingValue></setting><setting><settingName>emailCustomer</settingName><settingValue>true</settingValue></setting><setting><settingName>recurringBilling</settingName><settingValue>false</settingValue></setting><setting><settingName>testRequest</settingName><settingValue>false</settingValue></setting></transactionSettings></transactionRequest></createTransactionRequest>"
string(49) ""



Any help trully appreciated, solving the problem is really urgent for us.

Thank you in advance!




Thank you, it is working now! Would be great to show both URLs on the admin interface, and let know the live chat customer support about that.


However, thanks a lot for your quick respond!

I'm using good credentials for MerchantID and LoginKey and submitting to        

$this->url  = 'https://' . $subdomain . '';
for my test account, but still get "Merchant Login ID or Password is Invalid or the Account is Inactive". My credentials work fine using a DMP form, but not using an AIM form and the proper authnetAIM.class.php file. Any suggestions on what I need to change?


Never mind. I figured it out for my test account. See next two posts.



When i am using sand box setting with developer API and tansation then it is working fine but when i am using production setting with Production API and transaction id then it is showing following error.


Even i used sample store code for fixing this issue.


require_once 'anet_php_sdk/AuthorizeNet.php';

// $METHOD_TO_USE = "DIRECT_POST"; // Uncomment this line to test DPM

define("AUTHORIZENET_SANDBOX",false); // Set to false to test against production
define("TEST_REQUEST", "true"); // You may want to set to true if testing against production

// You only need to adjust the two variables below if testing DPM
define("AUTHORIZENET_MD5_SETTING",""); // Add your MD5 Setting.
$site_root = ""; // Add the URL to your site




We're sorry, but we can't process your order at this time due to the following error:The merchant login ID or password is invalid or the account is inactive.
response code3
response reason code13

since it is AIM, log the request to see if something is wrong with it.

I checked but I did find any issue in request. Is any other sample/tool where I can check my production API login I'd and transaction I'd , I tested with same code with sandbox setting with developer working fine


copy the url link and put in your loginid and transactionkey, run in a browser


should get

3,2,33,Credit card number is required

Sorry, i am still getting same issue. after running url 


3,2,13,The merchant login ID or password is invalid or the account is inactive.,,P,0,,,1.99,,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,361CB845DD8F46B7A41BDB8874062911,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,