예제 #1
0
        private GEPBaseResultT PaymentExecuteOrderFollowUp(PaymentOrderMultiParamT orderParam)
        {
            GEPBaseResultT result = new GEPBaseResultT();

            PaymentProcessQueryBiz paymentProcessQueryBiz = new PaymentProcessQueryBiz();

            #region 주문시 클라이언트 IP를 기록

            try
            {
                paymentProcessQueryBiz.InsertOrderLogIpAddress(orderParam.RemoteAddr, orderParam.PackNo.ToString() + ",", orderParam.ServerIPAddr);
            }
            catch
            {
                // 실패 시 lion.dbo.order_error_log_for_sub_sp 에 기록
            }

            if (!orderParam.AcntType.Equals("GL", StringComparison.InvariantCultureIgnoreCase) && orderParam.PayAuthSeq != 0)
            {
                int retCode = 0;

                //try
                //{
                    retCode = paymentProcessQueryBiz.UpdateOrderSubAuthLog(orderParam.PayAuthSeq, orderParam.PackNo, orderParam.OrderDateTime);
                //}
                //catch
                //{

                //}

                // 주문에 영향은 없다고 함.
                /*
                if (retCode < 0)
                {
                    result.RetCode = retCode;
                    result.RetMessage = "정상적으로 주문은 접수되었지만, 문제가 발생했습니다. 나의 쇼핑정보에서 확인해주세요";

                    return result;
                }
                */
            }

            #endregion

            return result;
        }