Exemplo n.º 1
0
        /// <summary>
        /// 支付远程调用
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public static TenpayResponseBase <TenpayPay> TradePay(string payNo, TradePayRequest request, AccountEntity accountEntity)
        {
            TenpayPay tenpayRequestModel = new TenpayPay();
            TenpayResponseBase <TenpayPay> tenpayResponseModel = new TenpayResponseBase <TenpayPay>();

            return(tenpayResponseModel);
        }
Exemplo n.º 2
0
        public TradePayResponse TradePay(TradePayRequest request)
        {
            TenpayResponseBase <TenpayPay> tenpayResponseModel = new TenpayResponseBase <TenpayPay>();
            TradePayResponse response = new TradePayResponse();

            return(response);
        }
Exemplo n.º 3
0
        public static TradePayResponse TradePay(TradePayRequest request)
        {
            TradePayResponse response = new TradePayResponse();

            if (request == null)
            {
                response.Message = "请求实体不可为空";
                return(response);
            }
            return(response);
        }
Exemplo n.º 4
0
        public TradePayResponse TradePay(TradePayRequest request)
        {
            AlipayResponseBase <AlipayPay> alipayResponseModel = new AlipayResponseBase <AlipayPay>();
            TradePayResponse response = new TradePayResponse();

            //数据验证
            //获取账号信息
            //生成平台唯一订单号
            //记录请求日志
            //第三方支付调用并记录响应结果
            //组织数据返回

            return(response);
        }
Exemplo n.º 5
0
 public static TradePayResponse TradePay(TradePayRequest request)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 6
0
        public TradePayResponse TradePay(TradePayRequest request)
        {
            IPaymentService paymentService = ThirdPaymentFactory.Create(request.payChannels);

            return(paymentService.TradePay(request));
        }
Exemplo n.º 7
0
 /// <summary>
 /// 支付
 /// </summary>
 /// <param name="request"></param>
 /// <returns></returns>
 public TradePayResponse TradePay(TradePayRequest request)
 {
     return(_payFacade.TradePay(request));
 }
Exemplo n.º 8
0
        /// <summary>
        /// 支付远程调用
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public static AlipayResponseBase <Alipay.Model.AlipayPay> TradePay(string payNo, TradePayRequest request, AccountEntity accountEntity)
        {
            AlipayPay alipayRequestModel = new AlipayPay();
            AlipayResponseBase <AlipayPay> alipayResponseModel = new AlipayResponseBase <AlipayPay>();

            return(alipayResponseModel);
        }