Example #1
0
 public static string GetPaymentURL(XOrder order)
 {
     string crc = Robokassa.SignatureValue(order);
     string attr = "?MrchLogin="******"&OutSum=" + order.Price.ToString() + ".00&InvId=" + order.ID + "&SignatureValue=" + crc;
     //string attr = "?MrchLogin="******"&OutSum=" + order.Price.ToString() + "&InvId=" + order.ID + "&SignatureValue=" + crc;
     Logger.ConsoleLog("ATTR: " + attr);
     return "https://auth.robokassa.ru/Merchant/Index.aspx" + attr;
 }
Example #2
0
 public static string SignatureValue(XOrder order)
 {
     string mrh_pass1 = "12311974a";
     Logger.ConsoleLog(Robokassa.mrh_login + ":" + order.Price.ToString() + ".00:" + order.ID + ":" + mrh_pass1, ConsoleColor.Green);
     return BaseFuncs.MD5(Robokassa.mrh_login + ":" + order.Price.ToString() + ".00:" + order.ID + ":" + mrh_pass1);
 }