Reply
Contributor
Posts: 14
Registered: ‎10-28-2013

converting API

In 2003 Authorize.net did not have a .NET API so we used a third party one (Olivio.Ecommerce) that we still used today. I am trying to migrate to the one provided by Authorize.net because is has some new features that we need.

 

With our existing API our user Login/TransactionKey strings work for both dev and prod. When I use these credentials in this new API, they only work for prod and get rejected when I set the dev flag to True.

 

Why and how do I get the API working in dev?

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: converting API

make sure you pass TestMode as true when you create the Gateway.

Contributor
Posts: 14
Registered: ‎10-28-2013

Re: converting API

Yes of course I did that. That's how I found out that it fails with that flag set True and that's how I know it works with it set to False. It rejects my user ID and trans key in dev mode.

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: converting API

For the SDKs, the Testmode Param is use for setting the URL(test server or production server), not for the turning on/off the merchant account test mode.