I’m trying to integrate the Moneris Hosted Pay Page into my .net 1.1 app with an iFrame. I’ve done this many times before, but not with .net 1.1. I can’t seem to find a good resource for doing a programmatic HTML Post with 1.1. Any suggestions?
Thanks!
Edit: Poking around with the suggestions given, I’m realizing that the HttpWebRequest solution won’t work because you can’t do a redirect along with the POST. In order to integrate properly with Moneris, you’ve got to POST the amount value, and then also redirect to the URL you’ve POSTed to. Sorry for the confusion.
I’m going to answer my own question here just in case this gets referred to by someone else. Basically, I created a custom HTTP handler (.ashx) that generates a .NET independent HTML page with a form that POSTs to the URL I want. Basically, a dynamically built HTML page. This way I can dynamically pass my amount value, and then do a normal HTML POST.