refactor: add redirect from backend to payment gateway

This commit is contained in:
MahanCh
2025-07-21 11:43:29 +03:30
parent bfd6632940
commit 194323004b

View File

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