From 767022d0b8ff52521ab9fef2b9fdfcbc8c713ab8 Mon Sep 17 00:00:00 2001 From: MahanCh Date: Tue, 22 Jul 2025 09:39:31 +0330 Subject: [PATCH] fix bug --- 0_Framework/Application/PaymentGateway/IPaymentGateway.cs | 2 +- ServiceHost/Controllers/GeneralController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/0_Framework/Application/PaymentGateway/IPaymentGateway.cs b/0_Framework/Application/PaymentGateway/IPaymentGateway.cs index eb859402..306a75a2 100644 --- a/0_Framework/Application/PaymentGateway/IPaymentGateway.cs +++ b/0_Framework/Application/PaymentGateway/IPaymentGateway.cs @@ -23,7 +23,7 @@ public interface IPaymentGateway public class PaymentGatewayResponse { [JsonPropertyName("status")] - public string Status { get; set; } + public string Status { get; set; } [JsonPropertyName("code")] public int? ErrorCode { get; set; } diff --git a/ServiceHost/Controllers/GeneralController.cs b/ServiceHost/Controllers/GeneralController.cs index db7c580f..e59f5bf0 100644 --- a/ServiceHost/Controllers/GeneralController.cs +++ b/ServiceHost/Controllers/GeneralController.cs @@ -75,7 +75,7 @@ public class GeneralController : GeneralBaseController var verifyCommand = new VerifyPaymentGateWayRequest() { - Amount = transaction.Amount, + Amount = transaction.Amount/10, TransactionId = transid }; var verifyRes =await _paymentGateway.Verify(verifyCommand, cancellationToken);