Reply
Member
Posts: 1
Registered: ‎11-01-2011

DPM DotNet API Validation returning false

I am integrating with Authorize.net using the DPM mechanism, basing my code on the url below.

http://developer.authorize.net/guides/DPM/dotnet.html

Everything worked fine while testing, however, when I turned off test mode, my calls to AuthorizeNet.SIMResponse.Validate(MerchantHashCode, ApiLoginID) are returning false. I set up a MD5 hash code in the merchant account, and am using that same code in the Validate call so why is it returning false when not in test mode?

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

Re: DPM DotNet API Validation returning false

By looking at the source code. "isTest" variable on the "BeginSIMForm" method switch between the sandbox test server url to the production server url.