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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
3 deletions
-
src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs
-
src/Services/Payment/Payment.API/PaymentSettings.cs
-
src/Services/Payment/Payment.API/appsettings.json
|
|
@ -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); |
|
|
|
} |
|
|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
{ |
|
|
|
public class PaymentSettings |
|
|
|
{ |
|
|
|
public bool PaymentSucceded { get; set; } |
|
|
|
public bool PaymentSucceeded { get; set; } |
|
|
|
public string EventBusConnection { get; set; } |
|
|
|
} |
|
|
|
} |
|
|
@ -11,7 +11,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"PaymentSucceded": true, |
|
|
|
"PaymentSucceeded": true, |
|
|
|
"AzureServiceBusEnabled": false, |
|
|
|
"SubscriptionClientName": "Payment", |
|
|
|
"ApplicationInsights": { |
|
|
|