Esempio n. 1
0
        public override IPayment CreatePayment(decimal amount, IOrderGroup orderGroup)
        {
            var payment = _orderGroupFactory.CreatePayPalPayment(orderGroup);

            payment.PaymentMethodId   = PaymentMethodId;
            payment.PaymentMethodName = SystemKeyword;
            payment.Amount            = amount;
            payment.Status            = PaymentStatus.Pending.ToString();
            payment.TransactionType   = TransactionType.Authorization.ToString();
            return(payment);
        }