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/
http://www.furniturefold.com/samples/your_store/error_page.php?response_reason_code=13&response_code...
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
|
<?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
<?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