private string LoadWXHadPayOrder(string orderId) { PayClient payClient = new PayClient(masterSettings.WeixinAppId, masterSettings.WeixinAppSecret, masterSettings.WeixinPartnerID, masterSettings.WeixinPartnerKey, masterSettings.WeixinPaySignKey); string postData = payClient.BuildOrderPackage(orderId); return(payClient.RequestOrder(postData)); }
private string LoadWXHadPayOrder(string orderId, WxPayPartner partner) { PayClient payClient = new PayClient(partner.AppId, partner.AppSecret, partner.PartnerId, partner.PartnerKey, partner.SignKey); string postData = payClient.BuildOrderPackage(orderId); return(payClient.RequestOrder(postData)); }