public static WintopPayresInfo payres(WintopReChargeParam wintopReChargeParam) { WintopPayresInfo info = null; WintopInterface access = new WintopInterface(); WintopPayresParam wintopPayresParam = new WintopPayresParam(); wintopPayresParam.authcode = SysBLL.Authcode; // 认证码 not null wintopPayresParam.servicename = "DD004"; //交易号 wintopPayresParam.trandateTime = SysBLL.getYYYYMMDDHHMMSSTime(); //交易时间 wintopPayresParam.reqsn = SysBLL.getSerialNum(); //请求流水号 wintopPayresParam.loginId = SysBLL.getCpuNo(); //设备ID wintopPayresParam.orderno = wintopReChargeParam.WintopOrderInfo.msgrsp.orderNo; //订单编号 not null wintopPayresParam.realAmout = wintopReChargeParam.WintopOrderInfo.msgrsp.realAmout; // 账单金额 Not null 【根据查询产生的账单金额】 wintopPayresParam.payCode = wintopReChargeParam.PayCode; wintopPayresParam.trandeNo = wintopReChargeParam.TradeNo; // 支付渠道交易流水号 not null【银行支付流水号】 wintopPayresParam.wtcardid = wintopReChargeParam.WintopOrderInfo.msgrsp.wtcardid; //万通卡号【获取万通卡信息接口方法返回即query方法返回】 wintopPayresParam.wtuserid = wintopReChargeParam.WintopQueryResult.USERID; //用户编号【获取万通卡信息接口方法返回即query方法返回】 wintopPayresParam.type = wintopReChargeParam.WintopQueryResult.TYPE; //账户类型【获取万通卡信息接口方法返回即query方法返回】 wintopPayresParam.terminalNo = wintopReChargeParam.TerminalNo; //终端编号 not null wintopPayresParam.terminalno = wintopReChargeParam.Terminalno; //终端编号 not null wintopPayresParam.operators = "162"; //操作员编号 not null wintopPayresParam.deptno = "0108"; //网点编号 not null info = access.payres(wintopPayresParam); return(info); }
/// <summary> /// 万通卡提交订单 /// </summary> /// <param name="result"></param> /// <returns></returns> public static WintopOrderInfo WintopOrder(WintopReChargeParam result) { WintopOrderInfo info = null; //万通卡订单提交 WintopInterface access = new WintopInterface(); WintopOrderParam param = new WintopOrderParam(); param.authcode = SysBLL.Authcode; // 认证码 not null param.servicename = "WT002"; //交易号 param.trandateTime = SysBLL.getYYYYMMDDHHMMSSTime(); //交易时间 param.resqn = SysBLL.getSerialNum(); //请求流水号 param.wtcardid = result.WintopQueryResult.WTCARDID; //万通卡号 param.wtuserid = result.WintopQueryResult.USERID; //用户编号 param.type = result.WintopQueryResult.TYPE; //账户类型 param.money = result.UserInputMoney; //充值金额 param.loginId = SysBLL.getCpuNo(); //设备ID param.shopType = result.ShopType; //**************************************** info = access.WintopOrder(param); return(info); }