MVC-how to redirect from mvc app to third party view by send html (form) [on hold]

166
July 17, 2017, at 6:20 PM

I am trying out find a way to get third party view. I have result which is in the form of html (including html tag and form body):

"<form id="form1" name="form1" method="post" action="xyz/abc/"><input type="hidden" name="txntype" value="sale"><input type="hidden" name="timezone" value="IST"/>
<input type="hidden" name="txndatetime" value="2017:07:17-13:16:47"/><input type="hidden" name="responseFailURL" value="http://10.24.94.240:8055/.NET/response_fail.aspx\"/>
</form>"

so the requirement like here is I have to redirect to third party for (paymentMethod) to customer. So how can I achieve that in mvc 5/4 and that form is expecting formid as same as form1?

Neither I cannot even send this data using httpclient nor by redirecting using redirectToRoute. How can I achieve this, whether using jQuery, or any other way?

READ ALSO
TypeScript jQuery type definition

TypeScript jQuery type definition

I am converting a sample app from TypeScript 23 to 2

497
PHP string in an array

PHP string in an array

Write a PHP script to put a string in an array(3 marks)

440
Show/Hide jQuery, shows all of the divs instead of one that was clicked

Show/Hide jQuery, shows all of the divs instead of one that was clicked

I am trying to use jQuery show div, but the problem I have is that it all of the divs with same class are being shown instead of the one that was clicked

219
why doesn&#39;t jquery script load in another view asp.net mvc?

why doesn't jquery script load in another view asp.net mvc?

I'm writing a website in my _Layout view I added necessary links for examples, jquery, bootstrap and etc

260