cancel
Showing results for 
Search instead for 
Did you mean: 

Error 13 with older c# SDK and new sandbox account

The project we've started to work on refrences an older c# SDK from 2016.

 

The posting URL's are setup in Authorize.net DLL's metadata as such:

public const string LIVE_URL = "https://secure.authorize.net/gateway/transact.dll";
public const string TEST_URL = "https://test.authorize.net/gateway/transact.dll";

 

Creating a new Gateway takes the following parameters:

public Gateway(string apiLogin, string transactionKey, bool testMode);

 

We've so far created a new Sandbox Account, updated the apiKey and TransactionKey to point to the sandbox account and run the transaction:

 

With testMode set to true

- works fine, no authentication error, but the Transaction id is 0 and never recorded to the sandbox account

It is my understanding that since I'm using a sandbox account there's no need to set the testMode to true, however, when setting the testMode to false we get and Error 13 which refers to invalid credentials.

 

Might it be that the older SDK is not compatible with the new sandbox account?

 

 

alexpana
Member
1 REPLY 1

Hello @alexpana 

 

Have you tried using a more recent SDK version?

 

Richard

RichardH
Administrator Administrator
Administrator