development
温天培 2 years ago
parent 3393a005be
commit 459e010847

@ -124,13 +124,15 @@ namespace GDZZ.Application.Service.WXPay
PayStatus = (int)PayStatusEnum.NotPaying PayStatus = (int)PayStatusEnum.NotPaying
}); });
Console.WriteLine((int)authUserInput.Money * 100);
string sp_billno = string sp_billno =
$"{Config.SenparcWeixinSetting.TenPayV3_MchId}{SystemTime.Now:yyyyMMddHHmmss}{TenPayV3Util.BuildRandomStr(6)}"; $"{Config.SenparcWeixinSetting.TenPayV3_MchId}{SystemTime.Now:yyyyMMddHHmmss}{TenPayV3Util.BuildRandomStr(6)}";
string timeStamp = TenPayV3Util.GetTimestamp(); string timeStamp = TenPayV3Util.GetTimestamp();
string nonceStr = TenPayV3Util.GetNoncestr(); string nonceStr = TenPayV3Util.GetNoncestr();
TenPayV3UnifiedorderRequestData xmlDataInfo = new TenPayV3UnifiedorderRequestData(Config.SenparcWeixinSetting.WxOpenAppId, TenPayV3UnifiedorderRequestData xmlDataInfo = new TenPayV3UnifiedorderRequestData(Config.SenparcWeixinSetting.WxOpenAppId,
Config.SenparcWeixinSetting.TenPayV3_MchId,null, sp_billno, Config.SenparcWeixinSetting.TenPayV3_MchId,"余额充值", sp_billno,
(int)authUserInput.Money * 100, (int)authUserInput.Money * 100,
"127.0.0.1", "127.0.0.1",
Config.SenparcWeixinSetting.TenPayV3_WxOpenTenpayNotify, TenPayV3Type.JSAPI, authUserInput.OpenID, Config.SenparcWeixinSetting.TenPayV3_WxOpenTenpayNotify, TenPayV3Type.JSAPI, authUserInput.OpenID,

Loading…
Cancel
Save