Hi,
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 authorize.net
string(1047) "<?xml version="1.0" encoding="utf-8"?><createTransactionRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 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) "https://secure.authorize.net/gateway/transact.dll"
Any help trully appreciated, solving the problem is really urgent for us.
Thank you in advance!
Peter
Solved! Go to Solution.
โ07-02-2013 05:34 AM
That mean it more likely a loginID or TransactionKey is wrong. Double check the LoginID, and might need to regen the TransactionKey.
โ10-31-2013 04:09 AM
I regenerated my transation id but still showing me same issue, I chat with live support but they mentioned me put your question in forum, Now i am sending you real API ID and Transation ID that i will change after this issue now my account is test mode active.
I will very thank full to you if you fix this issue.
โ10-31-2013 06:00 AM
contact developer@authorize.net . That not much else to check if you regen the transactionKey, and double check the loginID.
โ10-31-2013 06:30 AM
Just did a test with SIM, it getting the same error, which mean the LoginID is wrong.
โ10-31-2013 07:09 AM
Hello,
I facing issue during run production api id and Transaction key in authorize net sample store code. I am stuck with this error last one week. Could you please to solve this I am also send you production API ID and Transaction key? Same code when I run with sandbox API ID and transaction Key then I is working fine.
API Login ID: |
XXXXXXXX |
API Login ID Last Obtained: |
10/18/2012 16:27:32 |
Transaction Key Last Obtained: |
11/01/2013 02:13:00 |
http://www.furniturefold.com/samples/your_store/
Error!
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 code |
3 |
response reason code |
13 |
Top of Form
<?php
/**
* This file contains config info for the sample app.
*/
// Adjust this to point to the Authorize.Net PHP SDK
require_once 'anet_php_sdk/AuthorizeNet.php';
$METHOD_TO_USE = "AIM";
// $METHOD_TO_USE = "DIRECT_POST"; // Uncomment this line to test DPM
define("AUTHORIZENET_API_LOGIN_ID","XXXXXXXX"); // Add your API LOGIN ID XXXXXXXX
define("AUTHORIZENET_TRANSACTION_KEY","XXXXXXXX"); // Add your API transaction key XXXXXXXX
define("AUTHORIZENET_SANDBOX",false); // Set to false to test against production
define("TEST_REQUEST", "false"); // 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 = "http://www.furniturefold.com/samples/your_store/"; // Add the URL to your site
if (AUTHORIZENET_API_LOGIN_ID == "") {
die('Enter your merchant credentials in config.php before running the sample app.');
}
Thank You
Your transaction ID:
2201087865
Coffee not hot enough?
Request a
Top of Form
Bottom of Form
Top of Form
<?php
/**
* This file contains config info for the sample app.
*/
// Adjust this to point to the Authorize.Net PHP SDK
require_once 'anet_php_sdk/AuthorizeNet.php';
$METHOD_TO_USE = "AIM";
// $METHOD_TO_USE = "DIRECT_POST"; // Uncomment this line to test DPM
define("AUTHORIZENET_API_LOGIN_ID","XXXXXXXX"); // Add your API LOGIN ID XXXXXXXX
define("AUTHORIZENET_TRANSACTION_KEY","XXXXXXXX"); // Add your API transaction key XXXXXXXX
define("AUTHORIZENET_SANDBOX",true); // Set to false to test against production
define("TEST_REQUEST", "false"); // 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 = "http://www.furniturefold.com/samples/your_store/"; // Add the URL to your site
if (AUTHORIZENET_API_LOGIN_ID == "") {
die('Enter your merchant credentials in config.php before running the sample app.');
}Bottom of Form
Bottom of Form
โ11-01-2013 11:08 AM - last edited on โ11-01-2013 01:16 PM by Trevor
Typo on your LoginID
API Login ID: | 9Y8s3cGP3784 |
API Login ID Last Obtained: | 10/18/2012 16:27:32 |
define("AUTHORIZENET_API_LOGIN_ID","9Y8s3GP3784");
โ11-01-2013 11:44 AM