public void TransferAndTransaction(string transactionId)
        {
            _transactionTransferService.TransferCapture(transactionId);
            _transactionTransferService.TransferCharge(transactionId);

            _transactionTransferService.CompleteCaptureTransfer(transactionId);
            _transactionTransferService.CompleteChargeTransfer(transactionId);
        }
Ejemplo n.º 2
0
        public void ChargeCapture(string transactionId, string currency, int amount)
        {
            var invoice = _invoiceRepository.GetInvoice(transactionId);

            invoice.ChargeCapture(transactionId, currency, amount);

            _invoiceRepository.Save(invoice);

            _transactionTransferService.TransferCharge(transactionId);
        }