Browse Source

Merge pull request #1137 from jabas06/succeded-typo

fix typo in PaymentSucceded option
dotnet3-migration/dev-pre-merge
Miguel Veloso 5 years ago
committed by GitHub
parent
commit
f8084f5953
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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 // Instead of a real payment we just take the env. var to simulate the payment
// The payment can be successful or it can fail // The payment can be successful or it can fail
if (_settings.PaymentSucceded)
if (_settings.PaymentSucceeded)
{ {
orderPaymentIntegrationEvent = new OrderPaymentSucceededIntegrationEvent(@event.OrderId); orderPaymentIntegrationEvent = new OrderPaymentSucceededIntegrationEvent(@event.OrderId);
} }


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

@ -2,7 +2,7 @@
{ {
public class PaymentSettings public class PaymentSettings
{ {
public bool PaymentSucceded { get; set; }
public bool PaymentSucceeded { get; set; }
public string EventBusConnection { 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, "AzureServiceBusEnabled": false,
"SubscriptionClientName": "Payment", "SubscriptionClientName": "Payment",
"ApplicationInsights": { "ApplicationInsights": {


Loading…
Cancel
Save