refactor: add redirect from backend to payment gateway
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user