Reply
Contributor
Posts: 11
Registered: ‎12-11-2012
Accepted Solution

C# SDK The merchant login ID or password is invalid or the account is inactive. on live account

Hello,

 

I am having an issue with the C# SDK.  Everything works fine when using my developer account, however when i switch the apilogin and transkey to a live account: I get:

 

The merchant login ID or password is invalid or the account is inactive.

 

Of course, if i do a simple URL to test the account works fine.

 

https://secure.authorize.net/gateway/transact.dll?x_version=3.1&x_type=AUTH_ONLY&x_amount=1.99&x_car...

 

Is there something in the SDK that is sending everything to a test server or sandbox?  Do i have to change the transact url?


Accepted Solutions
Solution
Accepted by topic author klack
‎08-21-2015 01:58 AM
Contributor
Posts: 11
Registered: ‎12-11-2012

Re: C# SDK The merchant login ID or password is invalid or the account is inactive. on live account

Ok found the problem

 

var gate = new CardPresentGateway(apilogin, transkey, false);

 

needs to be 

 

var gate = new CardPresentGateway(apilogin, transkey, true);

for a live server

View solution in original post


All Replies
Solution
Accepted by topic author klack
‎08-21-2015 01:58 AM
Contributor
Posts: 11
Registered: ‎12-11-2012

Re: C# SDK The merchant login ID or password is invalid or the account is inactive. on live account

Ok found the problem

 

var gate = new CardPresentGateway(apilogin, transkey, false);

 

needs to be 

 

var gate = new CardPresentGateway(apilogin, transkey, true);

for a live server

Contributor
Posts: 20
Registered: ‎09-01-2012

Re: C# SDK The merchant login ID or password is invalid or the account is inactive. on live account

This is how it should be for a test account using the John Conde variables:

 

    public function __construct($login = '', $transkey = '', $test = true)
    {
        $login    = trim($login);
        $transkey = trim($transkey);
        if (empty($login) || empty($transkey))