public override SortedDictionary <string, string> GetSubmitPara() { var sd = new SortedDictionary <string, string> { { "requestId", RequestId }, { "merchantCode", SumapayConfig.MerchantCode }, { "userIdIdentity", UserId.ToString() }, { "projectCode", ProjectCode.ToString() }, { "sum", Sum }, { "payType", PayType }, { "successReturnUrl", SuccessReturnUrl }, { "failReturnUrl", FailReturnUrl }, { "noticeUrl", SumapayConfig.NoticeUrl }, { "signature", GetSignature() } }; if (!string.IsNullOrEmpty(ProjectDescription)) { sd.Add("projectDescription ", HttpUtility.UrlEncode(ProjectDescription, Encoding.GetEncoding("GBK"))); } if (!string.IsNullOrEmpty(GiftFlag)) { sd.Add("giftFlag", GiftFlag); } if (!string.IsNullOrEmpty(SubledgerList)) { sd.Add("subledgerList", SubledgerList); } return(sd); }
public override SortedDictionary <string, string> GetSubmitPara() { var sd = new SortedDictionary <string, string> { { "requestId", RequestId }, { "merchantCode", SumapayConfig.MerchantCode }, { "userIdIdentity", UserId.ToString() }, { "projectCode", ProjectCode.ToString() }, { "sum", Sum }, { "successReturnUrl", SuccessReturnUrl }, { "failReturnUrl", FailReturnUrl }, { "noticeUrl", SumapayConfig.NoticeUrl }, { "signature", GetSignature() } }; if (!string.IsNullOrEmpty(RechargeUrl)) { sd.Add("rechargeUrl", RechargeUrl); } if (!string.IsNullOrEmpty(GiftFlag)) { sd.Add("giftFlag", GiftFlag); } if (!string.IsNullOrEmpty(SubledgerList)) { sd.Add("subledgerList", SubledgerList); } return(sd); }
public override SortedDictionary <string, string> GetSubmitPara() { var sd = new SortedDictionary <string, string> { { "requestId", RequestId }, { "merchantCode", SumapayConfig.MerchantCode }, { "userIdIdentity", UserId.ToString() }, { "projectCode", ProjectCode.ToString() }, { "originalRequestId", OriginalRequestId }, { "originalOrderSum", OriginalOrderSum }, { "assignmentSum", AssignmentSum }, { "undertakeSum", UndertakeSum }, { "payType", PayType }, { "subledgerList", SubledgerList }, { "successReturnUrl", SuccessReturnUrl }, { "failReturnUrl", FailReturnUrl }, { "noticeUrl", SumapayConfig.NoticeUrl }, { "signature", GetSignature() } }; if (!string.IsNullOrEmpty(ProjectDescription)) { sd.Add("projectDescription", ProjectDescription); } if (!string.IsNullOrEmpty(CreditValue)) { sd.Add("creditValue", CreditValue); } if (!string.IsNullOrEmpty(UndertakePercentage)) { sd.Add("undertakePercentage", UndertakePercentage); } if (!string.IsNullOrEmpty(MainAccountType)) { sd.Add("mainAccountType", MainAccountType); } if (!string.IsNullOrEmpty(MainAccountCode)) { sd.Add("mainAccountCode", MainAccountCode); } if (!string.IsNullOrEmpty(BackUrl)) { sd.Add("backUrl", BackUrl); } if (!string.IsNullOrEmpty(RequestType)) { sd.Add("requestType", RequestType); } return(sd); }
public override SortedDictionary <string, string> GetSubmitPara() { return(new SortedDictionary <string, string> { { "requestId", RequestId }, { "merchantCode", SumapayConfig.MerchantCode }, { "userIdIdentity", UserId.ToString() }, { "projectCode", ProjectCode.ToString() }, { "successReturnUrl", SuccessReturnUrl }, { "failReturnUrl", FailReturnUrl }, { "noticeUrl", SumapayConfig.NoticeUrl }, { "signature", GetSignature() } }); }
public override SortedDictionary <string, string> GetSubmitPara() { var sd = new SortedDictionary <string, string> { { "requestId", RequestId }, { "merchantCode", SumapayConfig.MerchantCode }, { "userIdIdentity", UserId.ToString() }, { "projectCode", ProjectCode.ToString() }, { "repayLimit", RepayLimit }, { "successReturnUrl", SuccessReturnUrl }, { "failReturnUrl", FailReturnUrl }, { "noticeUrl", SumapayConfig.NoticeUrl }, { "signature", GetSignature() } }; if (!string.IsNullOrEmpty(Cycle)) { sd.Add("cycle", Cycle); } return(sd); }