minor name change
This commit is contained in:
parent
87e57b9a44
commit
9fe33b82df
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
public class PaymentSettings
|
public class PaymentSettings
|
||||||
{
|
{
|
||||||
public bool SuccessPayment { get; set; }
|
public bool PaymentSucceded { get; set; }
|
||||||
public string EventBusConnection { get; set; }
|
public string EventBusConnection { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
"Default": "Warning"
|
"Default": "Warning"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SuccessPayment": "true"
|
"PaymentSucceded": "true"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user