Reply
Member
Posts: 7
Registered: ‎05-03-2012
Accepted Solution

How to get MD5 Hash in RelayReponse page for validating

Hi Experts,

 

I am new comer in Authorize.net Comminity so I have a question that I want to get the MD5 Hash for validating (Using the MD5 Hash feature). My project is written by C# ASP.NET (dont use MVC framework at all) I try to find in documents but no luck because it is written for MVC project. I am using DPM method to test

 

Any help is very appriciated

 

Thank you all in advance,

Binh Duong


Accepted Solutions
Highlighted
Solution
Accepted by topic author prophet_quest
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: How to get MD5 Hash in RelayReponse page for validating

Methods Validate() in the SIMResponse class in their SDKs.

Download the source if you want to see how it work.

View solution in original post


All Replies
Highlighted
Solution
Accepted by topic author prophet_quest
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: How to get MD5 Hash in RelayReponse page for validating

Methods Validate() in the SIMResponse class in their SDKs.

Download the source if you want to see how it work.

Member
Posts: 7
Registered: ‎05-03-2012

Re: How to get MD5 Hash in RelayReponse page for validating

Thanks Raynor for your answer, I found that code snippet below

 

var response = new AuthorizeNet.SIMResponse(this.Request.Form);
var isValid = response.Validate("YOUR_MERCHANT_HASH_CODE", "YOUR_APILOGIN");

 

but I have not tested yet, anyway thank you so much