示例#1
0
        public async Task Handle(PaymentSucceededEvent message, IMessageHandlerContext context)
        {
            Log.Info("Handle PaymentSucceededEvent");

            Data.IsPaymentProcessed = true;
            await ProcessOrder(context);
        }
示例#2
0
        public Task Handle(PaymentSucceededEvent message, IMessageHandlerContext context)
        {
            Log.Info("Handle PaymentSucceededEvent");

            Data.OrderId            = message.OrderId;
            Data.IsPaymentProcessed = true;

            return(ProcessOrder(context));
        }
示例#3
0
 public void Handle(PaymentSucceededEvent paymentSucceededEvent)
 {
 }
示例#4
0
 public void HandlePaymentSucceeded(PaymentSucceededEvent ev)
 {
     PaymentState           = PaymentState.Successful;
     AcquiringBankPaymentId = ev.AcquiringBankPaymentId;
 }
 public Task Handle(PaymentSucceededEvent message, IMessageHandlerContext context)
 {
     Data.OrderId            = message.OrderId;
     Data.IsPaymentSucceeded = true;
     return(Task.CompletedTask);
 }
 public void Apply(PaymentSucceededEvent _)
 {
     Status = PaymentStatus.PaymentSucceeded;
 }
 public async Task Handle(PaymentSucceededEvent notification, CancellationToken cancellationToken)
 {
     await _repository.UpdatePaymentStatusProjection(notification.AggregateId, notification.MerchantId, notification.ResponseReason, true);
 }