Browse Source

fix typo in PaymentSucceded option

pull/1137/head
jabarca 5 years ago
parent
commit
403b731d12
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs
  2. +1
    -1
      src/Services/Payment/Payment.API/PaymentSettings.cs
  3. +1
    -1
      src/Services/Payment/Payment.API/appsettings.json

+ 1
- 1
src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs View File

@ -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);
}


+ 1
- 1
src/Services/Payment/Payment.API/PaymentSettings.cs View File

@ -2,7 +2,7 @@
{
public class PaymentSettings
{
public bool PaymentSucceded { get; set; }
public bool PaymentSucceeded { get; set; }
public string EventBusConnection { get; set; }
}
}

+ 1
- 1
src/Services/Payment/Payment.API/appsettings.json View File

@ -11,7 +11,7 @@
}
}
},
"PaymentSucceded": true,
"PaymentSucceeded": true,
"AzureServiceBusEnabled": false,
"SubscriptionClientName": "Payment",
"ApplicationInsights": {


Loading…
Cancel
Save