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