From 194323004be01ce596764bcd3736d18422a05b33 Mon Sep 17 00:00:00 2001 From: MahanCh Date: Mon, 21 Jul 2025 11:43:29 +0330 Subject: [PATCH] refactor: add redirect from backend to payment gateway --- ServiceHost/Areas/Client/Controllers/FinancialController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServiceHost/Areas/Client/Controllers/FinancialController.cs b/ServiceHost/Areas/Client/Controllers/FinancialController.cs index 8cb66001..4063e49d 100644 --- a/ServiceHost/Areas/Client/Controllers/FinancialController.cs +++ b/ServiceHost/Areas/Client/Controllers/FinancialController.cs @@ -89,7 +89,7 @@ public class FinancialController : ClientBaseController if (gatewayResponse.IsSuccess) { _ = await _paymentTransactionApplication.SetTransactionId(transaction.SendId, gatewayResponse.TransactionId); - return op.Succcedded(_paymentGateway.GetStartPayUrl(gatewayResponse.TransactionId)); + return Redirect(_paymentGateway.GetStartPayUrl(gatewayResponse.TransactionId)); } if (gatewayResponse.ErrorCode.HasValue)