Ejemplo n.º 1
0
 public Processor_HuiZhongPay(PayOrderService payOrderService, MerchantService merchantService)
 {
     this._payOrderService = payOrderService;
     this._merchantService = merchantService;
     this.IsPostForm       = true;
     this.RequestMethod    = "POST";
 }
Ejemplo n.º 2
0
 public HomeController(IProcessorFactory factory, PayChannelService payChannelService,
                       PayOrderService payOrderService)
 {
     this.factory            = factory;
     this._payChannelService = payChannelService;
     this._payOrderService   = payOrderService;
 }
Ejemplo n.º 3
0
 public Processor10001(MerchantService merchantService,
                       PayProductService payProductService,
                       MerchantPayProductService merchantPayProductService,
                       PayChannelService payChannelService,
                       PayOrderService payOrderService
                       )
 {
     this._merchantService           = merchantService;
     this._payProductService         = payProductService;
     this._merchantPayProductService = merchantPayProductService;
     this._payChannelService         = payChannelService;
     this._payOrderService           = payOrderService;
 }
Ejemplo n.º 4
0
 public Processor_JuBaoPay(MerchantService merchantService,
                           PayProductService payProductService,
                           MerchantPayProductService merchantPayProductService,
                           PayChannelService payChannelService,
                           PayOrderService payOrderService
                           )
 {
     this._merchantService           = merchantService;
     this._payProductService         = payProductService;
     this._merchantPayProductService = merchantPayProductService;
     this._payChannelService         = payChannelService;
     this._payOrderService           = payOrderService;
     this.IsPostForm    = true;
     this.PayUrl        = "http://gateway.jbpay.net/api/gateway";
     this.RequestMethod = "POST";
 }
Ejemplo n.º 5
0
        /// <summary>
        /// 接收代付订单
        /// </summary>
        /// <param name="sender">事件源</param>
        /// <param name="e">消息参数</param>
        private static void m_messageReceiver_Received(object sender, MessageEventArgs e)
        {
            var orderModel = e.Message as OrderMqMessage;

            try
            {
                if (null != orderModel)
                {
                    PayOrderService.AddPayOrder(orderModel);
                }
            }
            catch (Exception ex)
            {
                string strMessage = $"接收代付订单失败,原因:{SysLogHelper.GetErrorLogInfo(ex, true)}";
                SysLogHelper.LogMessage("Lx.Service.m_messageReceiver_Received", strMessage);
            }
        }
Ejemplo n.º 6
0
 public PayOrderController(PayOrderService payOrderService, IExcelClient excelClient)
 {
     this._payOrderService = payOrderService;
     this.excelClient      = excelClient;
 }
Ejemplo n.º 7
0
 public Processor_HuiZhongPay(PayOrderService payOrderService, MerchantService merchantService)
 {
     this._payOrderService = payOrderService;
     this._merchantService = merchantService;
 }
Ejemplo n.º 8
0
 public Processor20001(PayOrderService payOrderService, MerchantService merchantService)
 {
     this._payOrderService = payOrderService;
     this._merchantService = merchantService;
 }