Hello,
I am confused on what to do with the response after making a POST to a web site. I have made an InfoPath form which takes just the user's information (FName, LName, Email, Phone) and an amount. Once they hit submit it runs some custom VB code to post to the Authorize.Net web site and I get a response back in the form of HTML. I am trying to open this response in the default browser so the user can continue filling out their credit card information.
Dim objResponse As HttpWebResponse = CType(Request.GetResponse(), HttpWebResponse)
Dim responseStream As New StreamReader(objResponse.GetResponseStream())
Dim post_response As String = responseStream.ReadToEnd()
responseStream.Close()
post_response has the html form that comes back.
Any insight or help would be greatly appreciated.
Brandon