diff --git a/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs b/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs index c2f31b4cf..5921529b2 100644 --- a/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs +++ b/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs @@ -41,7 +41,7 @@ // Instead of a real payment we just take the env. var to simulate the payment // The payment can be successful or it can fail - if (_settings.PaymentSucceded) + if (_settings.PaymentSucceeded) { orderPaymentIntegrationEvent = new OrderPaymentSucceededIntegrationEvent(@event.OrderId); } diff --git a/src/Services/Payment/Payment.API/PaymentSettings.cs b/src/Services/Payment/Payment.API/PaymentSettings.cs index e31acb52e..fdb8a29cc 100644 --- a/src/Services/Payment/Payment.API/PaymentSettings.cs +++ b/src/Services/Payment/Payment.API/PaymentSettings.cs @@ -2,7 +2,7 @@ { public class PaymentSettings { - public bool PaymentSucceded { get; set; } + public bool PaymentSucceeded { get; set; } public string EventBusConnection { get; set; } } } diff --git a/src/Services/Payment/Payment.API/appsettings.json b/src/Services/Payment/Payment.API/appsettings.json index a73471214..9964a8bd2 100644 --- a/src/Services/Payment/Payment.API/appsettings.json +++ b/src/Services/Payment/Payment.API/appsettings.json @@ -11,7 +11,7 @@ } } }, - "PaymentSucceded": true, + "PaymentSucceeded": true, "AzureServiceBusEnabled": false, "SubscriptionClientName": "Payment", "ApplicationInsights": {