开发者

Direct user to thirtd party site from Controller in Asp.NET MVC

开发者 https://www.devze.com 2023-01-07 04:43 出处:网络
I need to direct user to Paypal site for payment . Is there a way to achieve this from the controller with out the paypal site opening in a new browser?.

I need to direct user to Paypal site for payment . Is there a way to achieve this from the controller with out the paypal site opening in a new browser?.

Right now I am using Proces开发者_StackOverflows.Start(url) but would like to find out a better way to d o this preferably with our AJAX and in the same way Return view() behaves.

Thanks in advance.


Does this help?

return Redirect("http://paypal.com")
0

精彩评论

暂无评论...
验证码 换一张
取 消