Beispiel #1
0
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     string str = this.parameters["v_date"];
     string str2 = this.parameters["v_mid"];
     string str3 = this.parameters["v_oid"];
     string str4 = this.parameters["v_amount"];
     string str5 = this.parameters["v_status"];
     string str6 = this.parameters["v_md5"];
     if ((((str == null) || (str2 == null)) || ((str3 == null) || (str4 == null))) || ((str5 == null) || (str6 == null)))
     {
         this.OnNotifyVerifyFaild();
     }
     else if (!str5.Equals("00"))
     {
         this.OnNotifyVerifyFaild();
     }
     else
     {
         string str7 = FormsAuthentication.HashPasswordForStoringInConfigFile(str + str2 + str3 + str4 + str5 + payee.PrimaryKey, "MD5").ToLower(CultureInfo.InvariantCulture);
         if (!str6.Equals(str7))
         {
             this.OnNotifyVerifyFaild();
         }
         else
         {
             this.OnPaidToMerchant();
         }
     }
 }
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     this.Merchant = this.parameters["Merchant"];
     this.BillNo = this.parameters["BillNo"];
     this.Amount = this.parameters["Amount"];
     this.Success = this.parameters["Success"];
     this.Remark = this.parameters["Remark"];
     this.Sign = this.parameters["Sign"];
     if ((((this.Merchant == null) || (this.BillNo == null)) || ((this.Amount == null) || (this.Success == null))) || ((this.Remark == null) || (this.Sign == null)))
     {
         this.OnNotifyVerifyFaild();
     }
     else if (!this.Success.Equals("Y"))
     {
         this.OnNotifyVerifyFaild();
     }
     else
     {
         string password = this.Merchant + this.BillNo + this.Amount + this.Remark + this.Success + payee.PrimaryKey;
         if (!this.Sign.Equals(FormsAuthentication.HashPasswordForStoringInConfigFile(password, "MD5").ToLower(CultureInfo.InvariantCulture)))
         {
             this.OnNotifyVerifyFaild();
         }
         else
         {
             this.OnPaidToMerchant();
         }
     }
 }
Beispiel #3
0
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     string str = this._parameters["Amount"];
     string str2 = this._parameters["PayAmount"];
     string str3 = this._parameters["OrderNo"];
     string str4 = this._parameters["SerialNo"];
     string str5 = this._parameters["Status"];
     string str6 = this._parameters["MerchantNo"];
     string str7 = this._parameters["PayChannel"];
     string str8 = this._parameters["Discount"];
     string str9 = this._parameters["SignType"];
     string str10 = this._parameters["PayTime"];
     string str11 = this._parameters["CurrencyType"];
     string str12 = this._parameters["ProductNo"];
     string str13 = this._parameters["ProductDesc"];
     string str14 = this._parameters["Remark1"];
     string str15 = this._parameters["Remark2"];
     string str16 = this._parameters["ExInfo"];
     string str17 = this._parameters["MAC"];
     string str18 = FormsAuthentication.HashPasswordForStoringInConfigFile(str + "|" + str2 + "|" + str3 + "|" + str4 + "|" + str5 + "|" + str6 + "|" + str7 + "|" + str8 + "|" + str9 + "|" + str10 + "|" + str11 + "|" + str12 + "|" + str13 + "|" + str14 + "|" + str15 + "|" + str16 + "|" + payee.PrimaryKey, "MD5");
     if ((str5 != "01") || (str17 != str18))
     {
         this.OnNotifyVerifyFaild();
     }
     else
     {
         this.OnPaidToMerchant();
     }
 }
Beispiel #4
0
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     string sCmd = this.parameters["r0_Cmd"];
     string merchantId = this.parameters["p1_MerId"];
     string sErrorCode = this.parameters["r1_Code"];
     string sTrxId = this.parameters["r2_TrxId"];
     string amount = this.parameters["r3_Amt"];
     string cur = this.parameters["r4_Cur"];
     string productId = this.parameters["r5_Pid"];
     string orderId = this.parameters["r6_Order"];
     string userId = this.parameters["r7_Uid"];
     string mp = this.parameters["r8_MP"];
     string bType = this.parameters["r9_BType"];
     string hmac = this.parameters["hmac"];
     if (sErrorCode != "1")
     {
         this.OnNotifyVerifyFaild();
     }
     else if (!Buy.VerifyCallback(merchantId, payee.PrimaryKey, sCmd, sErrorCode, sTrxId, amount, cur, productId, orderId, userId, mp, bType, hmac))
     {
         this.OnNotifyVerifyFaild();
     }
     else
     {
         this.OnPaidToMerchant();
     }
 }
Beispiel #5
0
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     string str = this.parameters["cmdno"];
     string str2 = this.parameters["pay_result"];
     string str3 = this.UrlDecode(this.parameters["pay_info"]);
     string str4 = this.parameters["date"];
     string str5 = this.parameters["bargainor_id"];
     string str6 = this.parameters["transaction_id"];
     string str7 = this.parameters["sp_billno"];
     string str8 = this.parameters["total_fee"];
     string str9 = this.parameters["fee_type"];
     string str10 = this.parameters["attach"];
     string str11 = this.parameters["sign"];
     if ((((str == null) || (str2 == null)) || ((str3 == null) || (str4 == null))) || ((((str5 == null) || (str6 == null)) || ((str7 == null) || (str8 == null))) || (((str9 == null) || (str10 == null)) || (str11 == null))))
     {
         this.OnNotifyVerifyFaild();
     }
     else if (!str2.Equals("0"))
     {
         this.OnNotifyVerifyFaild();
     }
     else
     {
         string encypStr = "cmdno=" + str + "&pay_result=" + str2 + "&date=" + str4 + "&transaction_id=" + str6 + "&sp_billno=" + str7 + "&total_fee=" + str8 + "&fee_type=" + str9 + "&attach=" + str10 + "&key=" + payee.PrimaryKey;
         if (!str11.Equals(Maticsoft.Payment.PaymentInterface.Tenpay.Globals.GetMD5(encypStr, "GB2312")))
         {
             this.OnNotifyVerifyFaild();
         }
         else
         {
             this.OnPaidToMerchant();
         }
     }
 }
Beispiel #6
0
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     string text1 = this.parameters["mercode"];
     string str = this.parameters["billno"];
     string str2 = this.parameters["amount"];
     string str3 = this.parameters["date"];
     string str4 = this.parameters["ipsbillno"];
     string str5 = this.parameters["succ"];
     string str6 = this.parameters["retEncodeType"];
     string text2 = this.parameters["msg"];
     string str7 = this.parameters["currency_type"];
     string text3 = this.parameters["attach"];
     string str8 = this.parameters["signature"];
     if ((((str == null) || (str2 == null)) || ((str3 == null) || (str4 == null))) || (((str5 == null) || (str6 == null)) || ((str7 == null) || (str8 == null))))
     {
         this.OnNotifyVerifyFaild();
     }
     else if (!str5.Equals("Y"))
     {
         this.OnNotifyVerifyFaild();
     }
     else
     {
         string password = str + str2 + str3 + str5 + str4 + str7 + payee.PrimaryKey;
         if (!str8.Equals(FormsAuthentication.HashPasswordForStoringInConfigFile(password, "MD5").ToLower(CultureInfo.InvariantCulture)))
         {
             this.OnNotifyVerifyFaild();
         }
         else
         {
             this.OnPaidToMerchant();
         }
     }
 }
Beispiel #7
0
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     string str = this.parameters["merchant"];
     string str2 = this.parameters["billno"];
     string str3 = this.parameters["v_pstring"];
     string str4 = this.parameters["amount"];
     string str5 = this.parameters["success"];
     string str6 = this.parameters["remark"];
     string str7 = this.parameters["sign"];
     if ((((str == null) || (str2 == null)) || ((str3 == null) || (str4 == null))) || (((str5 == null) || (str6 == null)) || (str7 == null)))
     {
         this.OnNotifyVerifyFaild();
     }
     else if (!str5.Equals("Y"))
     {
         this.OnNotifyVerifyFaild();
     }
     else
     {
         string password = str + str2 + str4 + str5 + payee.PrimaryKey;
         if (!str7.Equals(FormsAuthentication.HashPasswordForStoringInConfigFile(password, "MD5").ToLower(CultureInfo.InvariantCulture)))
         {
             this.OnNotifyVerifyFaild();
         }
         else
         {
             this.OnPaidToMerchant();
         }
     }
 }
 public IpsExpressRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.Merchant = payee.SellerAccount;
     this.BillNo = trade.OrderId;
     this.Amount = trade.TotalMoney.ToString("F", CultureInfo.InvariantCulture);
     this.BackUrl = gateway.ReturnUrl;
     this.MerPassword = payee.PrimaryKey;
 }
Beispiel #9
0
 public PaypalRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.amount = trade.TotalMoney.ToString("F", CultureInfo.InvariantCulture);
     this.invoice = trade.OrderId;
     this.item_number = trade.OrderId;
     this.return_url = gateway.ReturnUrl;
     this.business = payee.SellerAccount;
 }
 public ChinabankRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.v_oid = trade.OrderId;
     this.v_amount = trade.TotalMoney.ToString("F", CultureInfo.InvariantCulture);
     this.v_url = gateway.ReturnUrl;
     this.v_mid = payee.SellerAccount;
     this.key = payee.PrimaryKey;
 }
Beispiel #11
0
 public static PaymentRequest Instance(string requestType, PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     if (string.IsNullOrEmpty(requestType))
     {
         return null;
     }
     object[] args = new object[] { payee, gateway, trade };
     return (Activator.CreateInstance(Type.GetType(requestType), args) as PaymentRequest);
 }
Beispiel #12
0
 public CncardRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.c_order = trade.OrderId;
     this.c_orderamount = trade.TotalMoney.ToString("F", CultureInfo.InvariantCulture);
     this.c_ymd = Convert.ToDateTime(trade.Date).ToString("yyyyMMdd", DateTimeFormatInfo.InvariantInfo);
     this.c_returl = gateway.ReturnUrl;
     this.c_mid = payee.SellerAccount;
     this.c_pass = payee.PrimaryKey;
 }
Beispiel #13
0
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     string paramValue = this.parameters["merchantAcctId"];
     string str2 = this.parameters["version"];
     string str3 = this.parameters["language"];
     string str4 = this.parameters["signType"];
     string str5 = this.parameters["payType"];
     string str6 = this.parameters["bankId"];
     string str7 = this.parameters["orderId"];
     string str8 = this.parameters["orderTime"];
     string str9 = this.parameters["orderAmount"];
     string str10 = this.parameters["dealId"];
     string str11 = this.parameters["bankDealId"];
     string str12 = this.parameters["dealTime"];
     string str13 = this.parameters["payAmount"];
     string str14 = this.parameters["fee"];
     string str15 = this.parameters["ext1"];
     string str16 = this.parameters["ext2"];
     string str17 = this.parameters["payResult"];
     string str18 = this.parameters["errCode"];
     string str19 = this.parameters["signMsg"].ToUpper();
     if (!str17.Equals("10"))
     {
         this.OnNotifyVerifyFaild();
     }
     else
     {
         string returnStr = "";
         returnStr = this.appendParam(returnStr, "merchantAcctId", paramValue);
         returnStr = this.appendParam(returnStr, "version", str2);
         returnStr = this.appendParam(returnStr, "language", str3);
         returnStr = this.appendParam(returnStr, "signType", str4);
         returnStr = this.appendParam(returnStr, "payType", str5);
         returnStr = this.appendParam(returnStr, "bankId", str6);
         returnStr = this.appendParam(returnStr, "orderId", str7);
         returnStr = this.appendParam(returnStr, "orderTime", str8);
         returnStr = this.appendParam(returnStr, "orderAmount", str9);
         returnStr = this.appendParam(returnStr, "dealId", str10);
         returnStr = this.appendParam(returnStr, "bankDealId", str11);
         returnStr = this.appendParam(returnStr, "dealTime", str12);
         returnStr = this.appendParam(returnStr, "payAmount", str13);
         returnStr = this.appendParam(returnStr, "fee", str14);
         returnStr = this.appendParam(returnStr, "ext1", str15);
         returnStr = this.appendParam(returnStr, "ext2", str16);
         returnStr = this.appendParam(returnStr, "payResult", str17);
         returnStr = this.appendParam(returnStr, "errCode", str18);
         string str21 = FormsAuthentication.HashPasswordForStoringInConfigFile(this.appendParam(returnStr, "key", payee.PrimaryKey), "MD5").ToUpper();
         if (!str19.Equals(str21))
         {
             this.OnNotifyVerifyFaild();
         }
         else
         {
             this.OnPaidToMerchant();
         }
     }
 }
Beispiel #14
0
 public AllbuyRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.merchant = payee.SellerAccount;
     this.key = payee.PrimaryKey;
     this.BillNo = trade.OrderId;
     this.Amount = trade.TotalMoney.ToString("F", CultureInfo.InvariantCulture);
     this.Date = Convert.ToDateTime(trade.Date).ToString("yyyyMMdd", DateTimeFormatInfo.InvariantInfo);
     this.BackUrl = gateway.ReturnUrl;
 }
Beispiel #15
0
 public IpsRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.Mer_code = payee.SellerAccount;
     this.Cert = payee.PrimaryKey;
     this.Merchanturl = gateway.ReturnUrl;
     this.Billno = trade.OrderId;
     this.Amount = trade.TotalMoney.ToString("F", CultureInfo.InvariantCulture);
     DateTime date = trade.Date;
     this.Date = Convert.ToDateTime(trade.Date).ToString("yyyyMMdd", CultureInfo.InvariantCulture);
 }
Beispiel #16
0
 public ShengPayRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this._merchantNo = payee.SellerAccount;
     this._key = payee.PrimaryKey;
     this._orderNo = trade.OrderId;
     this._amount = trade.TotalMoney.ToString("F2");
     this._postBackUrl = gateway.ReturnUrl;
     this._notifyUrl = gateway.NotifyUrl;
     this._productUrl = trade.Showurl;
     this._orderTime = trade.Date.ToString("yyyyMMddHHmmss");
 }
Beispiel #17
0
 public TenpayRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.key = payee.PrimaryKey;
     this.date = trade.Date.ToString("yyyyMMdd", CultureInfo.InvariantCulture);
     this.desc = this.UrlEncode(trade.Subject);
     this.bargainor_id = payee.SellerAccount;
     this.transaction_id = this.bargainor_id + this.date + this.UnixStamp();
     this.sp_billno = trade.OrderId;
     this.return_url = gateway.ReturnUrl;
     this.total_fee = Convert.ToInt32((decimal) (trade.TotalMoney * 100M)).ToString(CultureInfo.InvariantCulture);
 }
 public TenpayAssureRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.chnid = "";
     this.seller = payee.SellerAccount;
     this.mch_price = Convert.ToInt32((decimal) (trade.TotalMoney * 100M)).ToString(CultureInfo.InvariantCulture);
     this.mch_vno = trade.OrderId;
     this.key = payee.PrimaryKey;
     this.mch_returl = gateway.NotifyUrl;
     this.show_url = gateway.ReturnUrl;
     this.mch_name = trade.Subject;
 }
Beispiel #19
0
 public YeepayRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.merchantId = payee.SellerAccount;
     this.keyValue = payee.PrimaryKey;
     this.pid = payee.Partner;
     this.amount = trade.TotalMoney.ToString("F", CultureInfo.InvariantCulture);
     this.orderId = trade.OrderId;
     this.payerContact = trade.BuyerEmailAddress;
     this.productDesc = trade.Subject;
     this.cur = gateway.CurrencyType;
     this.merchantCallbackURL = gateway.ReturnUrl;
 }
Beispiel #20
0
 public StandardRequest(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.return_url = gateway.ReturnUrl;
     this.notify_url = gateway.NotifyUrl;
     this.body = trade.Body;
     this.out_trade_no = trade.OrderId;
     this.subject = trade.Subject;
     this.price = trade.TotalMoney.ToString("F", CultureInfo.InvariantCulture);
     this.show_url = trade.Showurl;
     this.partner = payee.SellerAccount;
     this.key = payee.PrimaryKey;
     this.seller_email = payee.EmailAddress;
 }
Beispiel #21
0
 public Bill99Request(PayeeInfo payee, GatewayInfo gateway, TradeInfo trade)
 {
     this.merchantAcctId = payee.SellerAccount;
     this.key = payee.PrimaryKey;
     this.productName = trade.OrderId;
     this.productNum = "1";
     if (!string.IsNullOrEmpty(payee.Partner))
     {
         this.pid = payee.Partner;
     }
     this.bgUrl = gateway.NotifyUrl;
     this.orderAmount = Convert.ToInt32((decimal) (trade.TotalMoney * 100M)).ToString(CultureInfo.InvariantCulture);
     this.orderId = trade.OrderId;
     this.orderTime = trade.Date.ToString("yyyyMMddhhmmss", CultureInfo.InvariantCulture);
 }
Beispiel #22
0
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     string str = this.parameters["c_mid"];
     string str2 = this.parameters["c_order"];
     string str3 = this.parameters["c_orderamount"];
     string str4 = this.parameters["c_ymd"];
     string str5 = this.parameters["c_moneytype"];
     string str6 = this.parameters["c_transnum"];
     string str7 = this.parameters["c_succmark"];
     string str8 = this.parameters["c_cause"];
     string str9 = this.parameters["c_memo1"];
     string str10 = this.parameters["c_memo2"];
     string str11 = this.parameters["c_signstr"];
     if ((((str == null) || (str2 == null)) || ((str3 == null) || (str4 == null))) || ((((str5 == null) || (str6 == null)) || ((str7 == null) || (str8 == null))) || (((str9 == null) || (str10 == null)) || (str11 == null))))
     {
         this.OnNotifyVerifyFaild();
     }
     else if (!str7.Equals("Y"))
     {
         this.OnNotifyVerifyFaild();
     }
     else if (str != payee.SellerAccount)
     {
         this.OnNotifyVerifyFaild();
     }
     else
     {
         string password = str + str2 + str3 + str4 + str6 + str7 + str5 + str9 + str10 + payee.PrimaryKey;
         if (!str11.Equals(FormsAuthentication.HashPasswordForStoringInConfigFile(password, "MD5").ToLower()))
         {
             this.OnNotifyVerifyFaild();
         }
         else
         {
             this.OnPaidToMerchant();
         }
     }
 }
Beispiel #23
0
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     HttpWebRequest request = (HttpWebRequest) WebRequest.Create("https://www.paypal.com/cgi-bin/webscr");
     request.Method = "POST";
     request.ContentType = "application/x-www-form-urlencoded";
     byte[] bytes = HttpContext.Current.Request.BinaryRead(HttpContext.Current.Request.ContentLength);
     string str = Encoding.ASCII.GetString(bytes) + "&cmd=_notify-validate";
     request.ContentLength = str.Length;
     StreamWriter writer = new StreamWriter(request.GetRequestStream(), Encoding.ASCII);
     writer.Write(str);
     writer.Close();
     StreamReader reader = new StreamReader(request.GetResponse().GetResponseStream());
     string str2 = reader.ReadToEnd();
     reader.Close();
     string str3 = this.parameters["payment_status"];
     if ((str2 == "VERIFIED") && str3.Equals("Completed"))
     {
         this.OnPaidToMerchant();
     }
     else
     {
         this.OnNotifyVerifyFaild();
     }
 }
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     bool flag;
     try
     {
         flag = bool.Parse(this.GetResponse(this.CreateUrl(payee), timeout));
     }
     catch
     {
         flag = false;
     }
     this.parameters.Remove("MATICSOFTGW");
     foreach (string str in Maticsoft.Payment.Core.Globals.AlipayOtherParamKeys)
     {
         if (!string.IsNullOrEmpty(str))
         {
             this.parameters.Remove(str);
         }
     }
     string[] strArray = Maticsoft.Payment.PaymentInterface.AlipayAssure.Globals.BubbleSort(this.parameters.AllKeys);
     string s = "";
     for (int i = 0; i < strArray.Length; i++)
     {
         if ((!string.IsNullOrEmpty(this.parameters[strArray[i]]) && (strArray[i] != "sign")) && (strArray[i] != "sign_type"))
         {
             if (i == (strArray.Length - 1))
             {
                 s = s + strArray[i] + "=" + this.parameters[strArray[i]];
             }
             else
             {
                 s = s + strArray[i] + "=" + this.parameters[strArray[i]] + "&";
             }
         }
     }
     s = s + payee.PrimaryKey;
     if (flag && this.parameters["sign"].Equals(Maticsoft.Payment.PaymentInterface.AlipayAssure.Globals.GetMD5(s, this.input_charset)))
     {
         string str3 = this.parameters["trade_status"];
         if (str3 != null)
         {
             if (!(str3 == "WAIT_SELLER_SEND_GOODS"))
             {
                 if (!(str3 == "TRADE_FINISHED"))
                 {
                     return;
                 }
             }
             else
             {
                 this.OnPaidToIntermediary();
                 return;
             }
             this.OnPaidToMerchant();
         }
     }
     else
     {
         this.OnNotifyVerifyFaild();
     }
 }
 private string CreateUrl(PayeeInfo payee)
 {
     return string.Format(CultureInfo.InvariantCulture, "https://mapi.alipay.com/gateway.do?service=notify_verify&partner={0}&notify_id={1}", new object[] { payee.SellerAccount, this.parameters["notify_id"] });
 }
 public override void VerifyNotify(int timeout, PayeeInfo payee)
 {
     string parameterValue = this.parameters["version"];
     string str2 = this.parameters["cmdno"];
     string str3 = this.parameters["retcode"];
     string str4 = this.parameters["status"];
     string str5 = this.parameters["seller"];
     string str6 = this.parameters["total_fee"];
     string str7 = this.parameters["trade_price"];
     string str8 = this.parameters["transport_fee"];
     string str9 = this.parameters["buyer_id"];
     string str10 = this.parameters["chnid"];
     string str11 = this.parameters["cft_tid"];
     string str12 = this.parameters["mch_vno"];
     string str13 = this.parameters["attach"];
     string str14 = this.parameters["sign"];
     if (!str3.Equals("0"))
     {
         this.OnNotifyVerifyFaild();
     }
     else
     {
         StringBuilder buf = new StringBuilder();
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "attach", str13);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "buyer_id", str9);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "cft_tid", str11);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "chnid", str10);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "cmdno", str2);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "mch_vno", str12);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "retcode", str3);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "seller", str5);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "status", str4);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "total_fee", str6);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "trade_price", str7);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "transport_fee", str8);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "version", parameterValue);
         Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.AddParameter(buf, "key", payee.PrimaryKey);
         if (!str14.Equals(Maticsoft.Payment.PaymentInterface.TenpayAssure.Globals.GetMD5(buf.ToString())))
         {
             this.OnNotifyVerifyFaild();
         }
         else
         {
             string str15 = str4;
             if (str15 != null)
             {
                 if (!(str15 == "3"))
                 {
                     if (!(str15 == "5"))
                     {
                         return;
                     }
                 }
                 else
                 {
                     this.OnPaidToIntermediary();
                     return;
                 }
                 this.OnPaidToMerchant();
             }
         }
     }
 }
Beispiel #27
0
 public abstract void VerifyNotify(int timeout, PayeeInfo payee);