POST question

  • Thread starter Thread starter Michael Tissington
  • Start date Start date
M

Michael Tissington

I have a web page that posts back to the server with credit card
information.

I then need to POST the information to my payment processing gateway, check
the result and then send information back to the client.

How do I do the POST from the server out to the gateway and process the
information?

Thanks.
 
In the server side code, after you receive the data, just call the gateway
and pass the data. You can have your page process synchronously or
asynchronously to wait or not for a reply from the gateway.
 
There's no way for us to know that. Your "payment processing gateway"
vendor must give you instructions on what to do with the data you collect.
 
Maybe I'm not clear, How do I POST the information to my gateway website ...
as in should I use WebRequest or something else ?
 
find out what parameters are need for the gateway and pass them values to it
via your asp page.
Is this gateway web site using a DLL, asp page, what?
look at the gateway and see how it is looking to recieve your data, you can
use hidden form fields and pass them to
it, querystring, etc.
 
Hi Michael,

As Scott has mentioned that what's the "payment processing gateway" 's
exposed interfaces? A webservice or a simple web page. We have different
means according to different cases:
1. IF the "payment processing gateway" is exposed as a webservice, I think
we can use the WSDL.exe to genreate a client proxy to call the webservice.

2. If just a simple web page on a remote site, I think you can use the
"HttpWebRequest" class to post datas. As for the detailed info on how to
use HttpWebRequest to post form datas, you may refer to the following
weblinks:

#POSTing Data with ASP.NET
http://authors.aspalliance.com/stevesmith/articles/netscrape2.asp

#How to use HttpWebRequest to send POST request to another web server
http://www.netomatix.com/HttpPostData.aspx

#Improving .NET Compact Framework HTTP Communications using HttpWebRequest
and Custom ASP.NET Providers
http://msdn.microsoft.com/library/en-us/dnnetcomp/html/httpcomm.asp?frame=tr
ue

Also, you may search the former posts for the similar issues in this
newsgroup. Hope helps. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
Thanks the gateway is a simple web page on a remote site.

Thanks for the inks - just what I was looking for.
 
Back
Top