开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜