Author: svetsarn | Posted on: 11/27/2010 7:37:49 AM | Views : 444

Hello guys, what can be wrong in my code? I get the error that I have the wrong md5 key.
My code:

protected void ibGoToPay_Click(object sender, ImageClickEventArgs e) { string SellerEmail = ConfigurationManager.AppSettings["SellerEmail"]; Decimal Cost = 10; Decimal ExtraCost = 0; string OkUrl = ConfigurationManager.AppSettings["OkUrl"]; string GuaranteeOffered = ConfigurationManager.AppSettings["GuaranteeOffered"]; string Key = ConfigurationManager.AppSettings["MD5"]; string text = SellerEmail + ":" + Cost + ":" + ExtraCost + ":" + OkUrl + ":" + GuaranteeOffered + Key; Md5Helper md5Helper = new Md5Helper(); string MD5 = md5Helper.CalculateMD5Hash(text, Key); string goTo = ConfigurationManager.AppSettings["PaymentTestAddress"] + ...

Go to the complete details ...