|
@ -22,7 +22,7 @@ |
|
|
public async Task Handle(OrderStatusChangedToStockConfirmedIntegrationEvent @event) |
|
|
public async Task Handle(OrderStatusChangedToStockConfirmedIntegrationEvent @event) |
|
|
{ |
|
|
{ |
|
|
IntegrationEvent orderPaymentIntegrationEvent; |
|
|
IntegrationEvent orderPaymentIntegrationEvent; |
|
|
if(_settings.SuccessPayment) |
|
|
|
|
|
|
|
|
if(_settings.PaymentSucceded) |
|
|
{ |
|
|
{ |
|
|
orderPaymentIntegrationEvent = new OrderPaymentSuccededIntegrationEvent(@event.OrderId); |
|
|
orderPaymentIntegrationEvent = new OrderPaymentSuccededIntegrationEvent(@event.OrderId); |
|
|
} |
|
|
} |
|
|