Reply
Highlighted
Member
Posts: 3
Registered: ‎08-05-2014

AuthorizeNet.DLL

I am using the AuthorizeNet.DLL as is shown in the QuickStart example. It is working great so far.

 

Now, I would like to try pulling from our production environment. I have prepared the production environment.

I can't seem to figure out how to tell the DLL to use the production URL. And there are two. Which should I use?

 

Production: api.authorize.net or secure.authorize.net

 

I did not need to set anything for the sandbox and I guess that is part of the problem. Had I needed to set it, I would know how to change it for production.

 

Thanks

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

Re: AuthorizeNet.DLL

Usually, is in the code when you create the gateway, the last bool param testmode, set it to false to use the production URL.

Highlighted
Member
Posts: 3
Registered: ‎08-05-2014

Re: AuthorizeNet.DLL

THANK YOU!

 

Wow, that was too easy. The argument is called simply mode and I overlooked it completely. The enumerations sure help had I loooked: ServiceType.Test and SeviceType.Live.

 

Thanks again