Beispiel #1
0
        public ReturnInfoDTO <List <ChildTransactionStatusDTO> > PrePayBatch(PrePayBatchDTO dto)
        {
            ReturnInfoDTO <List <ChildTransactionStatusDTO> > result = new ReturnInfoDTO <List <ChildTransactionStatusDTO> >();

            try
            {
                Jinher.AMP.FSP.ISV.Facade.GoldPayFacade facadeGoldPay = new FSP.ISV.Facade.GoldPayFacade();
                facadeGoldPay.ContextDTO          = AuthorizeHelper.CoinInitAuthorizeInfo();
                facadeGoldPay.ContextDTO.LoginOrg = Guid.Empty;
                result = facadeGoldPay.PrePayBatch(dto);
            }
            catch (Exception ex)
            {
                LogHelper.Error(string.Format("FSPSV.PrePayBatch批量支付预处理信息异常。异常信息:{0}", ex));
            }
            return(result);
        }
Beispiel #2
0
        public Jinher.AMP.FSP.Deploy.CustomDTO.ReturnInfoDTO <List <ChildTransactionStatusDTO> > PreDirectPayBatch(PrePayBatchDTO preDto)
        {
            ReturnInfoDTO <List <ChildTransactionStatusDTO> > result = new ReturnInfoDTO <List <ChildTransactionStatusDTO> >();

            try
            {
                DirectPayFacade dirpayFacade = new Jinher.AMP.FSP.ISV.Facade.DirectPayFacade();
                dirpayFacade.ContextDTO          = AuthorizeHelper.CoinInitAuthorizeInfo();
                dirpayFacade.ContextDTO.LoginOrg = Guid.Empty;
                result = dirpayFacade.PreDirectPayBatch(preDto);
            }
            catch (Exception ex)
            {
                LogHelper.Error(string.Format("FSPSV.PreDirectPayBatch保存BTP合并支付订单信息异常。异常信息:{0}", ex));
            }
            return(result);
        }