private async Task Handle(PaymentTimeoutOccurred timeoutOccurred)
 {
     await _paymentDetailsRepository.Update(new GatewayPaymentId(timeoutOccurred.GatewayPaymentId), PaymentStatus.Timeout);
 }
Ejemplo n.º 2
0
        public void UpdatePaymentDetails(PaymentDetailsVM paymentDetailsVM)
        {
            var paymentDetails = _mapper.Map <PaymentDetailsVM, PaymentDetails>(paymentDetailsVM);

            _paymentDetailsRepository.Update(paymentDetails);
        }