Hi,
I have got the following code, which all works fine, just so you know it queries paypal...
I am trying to make it secure as possible without using the api calls, as i am no good at that.
I have tested it, and i can not see the fields it is writing to the webpages when i can back, or try and break the code half way through.
I am really just want confirmation that this is ok to use, and if not is there a way that it can post to a url and not have to do a write command.
Many thanks
I have got the following code, which all works fine, just so you know it queries paypal...
Code:
System.Web.HttpContext.Current.Response.Clear()
System.Web.HttpContext.Current.Response.Write("<html><head>")
System.Web.HttpContext.Current.Response.Write(String.Format("</head><body onload=""document.{0}.submit()"">", FormName))
System.Web.HttpContext.Current.Response.Write(String.Format("<form name=""{0}"" method=""{1}"" action=""{2}"" >", FormName, Method, Url))
Dim i As Integer = 0
Do While i < Inputs.Keys.Count
System.Web.HttpContext.Current.Response.Write(String.Format("<input name=""{0}"" type=""hidden"" value=""{1}"">", Inputs.Keys(i), Inputs(Inputs.Keys(i))))
i += 1
Loop
System.Web.HttpContext.Current.Response.Write("</form>")
System.Web.HttpContext.Current.Response.Write("</body></html>")
System.Web.HttpContext.Current.Response.End()
I am trying to make it secure as possible without using the api calls, as i am no good at that.
I have tested it, and i can not see the fields it is writing to the webpages when i can back, or try and break the code half way through.
I am really just want confirmation that this is ok to use, and if not is there a way that it can post to a url and not have to do a write command.
Many thanks