Reply
Highlighted
Contributor
Posts: 16
Registered: ‎12-19-2011

Re: (13) The merchant login ID or password is invalid or the account is inactive.

If this helps I am running a Ecommerce theme on WP there was an update to WP last week to 3.3 after this my customers got a AVS Mis Match ERORR at checkout. I ws instructed to upload the New AuthorizeNet Folder this folder contained many new files and a SDK folder that was not in my first folders from march 2011 Aftet the upload  I made a Live purchase and always get the (13) The merchant login ID or password is invalid or the account is inactive. ERORR. 

 

Highlighted
Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: (13) The merchant login ID or password is invalid or the account is inactive.

That's not the issue. You do have to put in your ID and key, and it should be safe to do so because (a) your hosting should be secure (if it isn't, you're doomed no matter what) and (b) the ID and key won't get hackers into your control panel. There's a separate login for that. What he's saying is that you shouldn't be editing code directly inside the SDK - you should be configuring things using a separate file, or just setting the config values on the same pages that you process the transaction from. Raynor posted what should be a good starting point, but you really need to look at the code examples in the documentation PDF, on this web site, in the AIM.markdown file in the doc folder of your SDK (assuming you're implementing AIM), etc. If you're doing AIM, I'd start with the AIM.markdown, since it gives the clearest examples of how to do a variety of things.

Highlighted
Contributor
Posts: 16
Registered: ‎12-19-2011

Re: (13) The merchant login ID or password is invalid or the account is inactive.

There are fields in my WP Panel that controls my shopping cart for PAYMENT OPTIONS this is where I have inserted my LOGIN ID and my Transaction Key they have been there since 3.2011 This is what I do not understand quote

"you should be configuring things using a separate file, or just setting the config values on the same pages that you process the transaction from."

 

1. What seperate File? Where is this file?

2. What config values on what pages I process the transaction from? 

Highlighted
Posts: 1,476
Topics: 33
Kudos: 34
Solutions: 126
Registered: ‎09-14-2009

Re: (13) The merchant login ID or password is invalid or the account is inactive.

[ Edited ]

If you have a WordPress plugin and it has stopped functioning you need to contact the author of that plugin for support. We're not going to be able to help you because we're not going to know what actually broke. It's not the login credentials that broke or the PHP SDK. It's their code that broke and only they will know how and why. Basically you're barking up the wrong tree here.

 

What is the name of the plug in? Maybe we can find out if there is a known problem and solution for it elsewhere.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
Highlighted
Contributor
Posts: 16
Registered: ‎12-19-2011

Re: (13) The merchant login ID or password is invalid or the account is inactive.

Hello  thanks for your patience and help

I am not using a PLUGIN it is a theme software by TEMPLATIC called Emporium here is my site 

http://killyourculture.com/store/

 

I have the CC Payment Option dis abled until I can find a fix, there support is of course in INDIA and this usually is very slow to get the proper fix or responses I am trying everything I can to correct this issue this week

Highlighted
Posts: 1,476
Topics: 33
Kudos: 34
Solutions: 126
Registered: ‎09-14-2009

Re: (13) The merchant login ID or password is invalid or the account is inactive.

[ Edited ]

They built the store into the theme? More or less the same thing. You'll need them to update the theme for it to work again. I would also make it a point to hold off on future upgrades of your software until you're sure it is compatible with your website.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: (13) The merchant login ID or password is invalid or the account is inactive.

Did you get pass the error 13?

If not, undo the upload changed(AuthorizeNet  and SDK folder)? or a quick heck, on the AuthorizeNetAIM.php

class AuthorizeNetAIM extends AuthorizeNetRequest
{

const LIVE_URL = 'https://secure.authorize.net/gateway/transact.dll';
const SANDBOX_URL = 'https://test.authorize.net/gateway/transact.dll';

/**

change the

const SANDBOX_URL = 'https://test.authorize.net/gateway/transact.dll';

to

const SANDBOX_URL = 'https://secure.authorize.net/gateway/transact.dll';

So it will always use the production server.

 

After that we can see what need to be done for the AVS error.

 

 

 

Highlighted
Contributor
Posts: 16
Registered: ‎12-19-2011

Re: (13) The merchant login ID or password is invalid or the account is inactive.

No I did not get passed this Error, another person here told me basically not to mess with their code and I was barking up the wrong tree asking for a fix here? and told me to go back to my developers who coded the Shopping Cart theme... but I am frustrated so you are telling me to change AuthorizeNEtAIM.php code below:

<?php
/**
* Easily interact with the Authorize.Net AIM API.
*
* Example Authorize and Capture Transaction against the Sandbox:
* <code>
* <?php require_once 'AuthorizeNet.php'
* $sale = new AuthorizeNetAIM;
* $sale->setFields(
* array(
* 'amount' => '4.99',
* 'card_num' => '411111111111111',
* 'exp_date' => '0515'
* )
* );
* $response = $sale->authorizeAndCapture();
* if ($response->approved) {
* echo "Sale successful!"; } else {
* echo $response->error_message;
* }
* ?>
* </code>
*
* Note: To send requests to the live gateway, either define this:
* define("AUTHORIZENET_SANDBOX", false);
* -- OR --
* $sale = new AuthorizeNetAIM;
* $sale->setSandbox(false);
*
* @package AuthorizeNet
* @subpackage AuthorizeNetAIM
* @link http://www.authorize.net/support/AIM_guide.pdf AIM Guide
*/


/**
* Builds and sends an AuthorizeNet AIM Request.
*
* @package AuthorizeNet
* @subpackage AuthorizeNetAIM
*/
class AuthorizeNetAIM extends AuthorizeNetRequest
{

const LIVE_URL = 'https://secure.authorize.net/gateway/transact.dll';
const SANDBOX_URL = 'https://test.authorize.net/gateway/transact.dll';

/**
* Holds all the x_* name/values that will be posted in the request.
* Default values are provided for best practice fields.
*/
protected $_x_post_fields = array(
"version" => "3.1",
"delim_char" => ",",
"delim_data" => "TRUE",
"relay_response" => "FALSE",
"encap_char" => "|",
);

 

To

const SANDBOX_URL = 'https://secure.authorize.net/gateway/transact.dll';

 

Highlighted
Contributor
Posts: 16
Registered: ‎12-19-2011

Re: (13) The merchant login ID or password is invalid or the account is inactive.

I changed AuthorizeNetAIM.php file line of code const SANDBOX_URL = 'https://test.authorize.net/gateway/transact.dll';

To

const SANDBOX_URL = 'https://secure.authorize.net/gateway/transact.dll';
and I still have 

The following errors have occurred.

(13) The merchant login ID or password is invalid or the account is inactive. :(
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: (13) The merchant login ID or password is invalid or the account is inactive.

[ Edited ]

I you change the sandbox_url and still getting the error. It mean whatever you set in the WP Panel PAYMENT OPTIONS for the ID and key it not getting used in the SDK. Another heck would be to change the code in AuthorizeNetRequest.php

public function __construct($api_login_id = false, $transaction_key = false)
{
        $this->_api_login = ($api_login_id ? $api_login_id : (defined('AUTHORIZENET_API_LOGIN_ID') ? AUTHORIZENET_API_LOGIN_ID : ""));
        $this->_transaction_key = ($transaction_key ? $transaction_key : (defined('AUTHORIZENET_TRANSACTION_KEY') ? AUTHORIZENET_TRANSACTION_KEY : ""));
        $this->_sandbox = (defined('AUTHORIZENET_SANDBOX') ? AUTHORIZENET_SANDBOX : true);
        $this->_log_file = (defined('AUTHORIZENET_LOG_FILE') ? AUTHORIZENET_LOG_FILE : false);
}

 Change the

public function __construct($api_login_id = false, $transaction_key = false)
{
        $this->_api_login = "YourID";
        $this->_transaction_key = "YourKey";
        $this->_sandbox = (defined('AUTHORIZENET_SANDBOX') ? AUTHORIZENET_SANDBOX : true);
        $this->_log_file = (defined('AUTHORIZENET_LOG_FILE') ? AUTHORIZENET_LOG_FILE : false);
}