public void TransferAndTransaction(string transactionId) { _transactionTransferService.TransferCapture(transactionId); _transactionTransferService.TransferCharge(transactionId); _transactionTransferService.CompleteCaptureTransfer(transactionId); _transactionTransferService.CompleteChargeTransfer(transactionId); }
public void AuthorizeAutoCaptureTransactionWithInvoiceAndTransfer(string account, string currency, int amount) { var paymentTransaction = _paymentTransactionRepository.GetPaymentTransaction(Guid.NewGuid().ToString()); paymentTransaction.AuthorizeTransaction(account, currency, amount); paymentTransaction.CaptureTransaction(currency, amount); _paymentTransactionRepository.Save(paymentTransaction); _billingService.ChargeCapture(paymentTransaction.TransactionId, currency, amount); _transactionTransferService.TransferCapture(paymentTransaction.TransactionId); }