How to redirect to external url from Web Api Services


How to redirect to external url from Web Api Services


if (order.Payment_Mode == "ONLINE")
{
int amount = (int)order.Tot_Price;
DateTime Today = System.DateTime.Now;
string MerchantId = "";


// return Redirect("https://www.google.com/");

return Ok();

}



I want to redirect to Payment gateway url by adding values in URL









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Opening a url is failing in Swift

Possible Unhandled Promise Rejection (id: 0): ReferenceError: user is not defined ReferenceError: user is not defined