473,507 Members | 2,472 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

POST question

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.

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com
Nov 18 '05 #1
8 891
when you post the page, have it call the gateway and not have the page post
to itself
"Michael Tissington" <mi*****@nospam.com> wrote in message
news:#x*************@tk2msftngp13.phx.gbl...
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.

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com

Nov 18 '05 #2
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.
"Michael Tissington" <mi*****@nospam.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
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.

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com

Nov 18 '05 #3
Yes, but how do I just 'call the gateway'

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com
"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:Ot*************@TK2MSFTNGP09.phx.gbl...
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.
"Michael Tissington" <mi*****@nospam.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
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.

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com


Nov 18 '05 #4
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.
"Michael Tissington" <mi*****@nospam.com> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
Yes, but how do I just 'call the gateway'

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com
"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:Ot*************@TK2MSFTNGP09.phx.gbl...
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.
"Michael Tissington" <mi*****@nospam.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
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.

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com



Nov 18 '05 #5
Maybe I'm not clear, How do I POST the information to my gateway website ...
as in should I use WebRequest or something else ?

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com

"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:uk**************@TK2MSFTNGP12.phx.gbl...
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.
"Michael Tissington" <mi*****@nospam.com> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
Yes, but how do I just 'call the gateway'

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com
"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:Ot*************@TK2MSFTNGP09.phx.gbl...
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.
"Michael Tissington" <mi*****@nospam.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
> 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.
>
> --
> Michael Tissington
> http://www.oaklodge.com
> http://www.tabtag.com
>
>



Nov 18 '05 #6
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.
"Michael Tissington" <mi*****@nospam.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
Maybe I'm not clear, How do I POST the information to my gateway website .... as in should I use WebRequest or something else ?

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com

"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:uk**************@TK2MSFTNGP12.phx.gbl...
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.


"Michael Tissington" <mi*****@nospam.com> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
Yes, but how do I just 'call the gateway'

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com
"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:Ot*************@TK2MSFTNGP09.phx.gbl...
> 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.
>
>
> "Michael Tissington" <mi*****@nospam.com> wrote in message
> news:%2***************@tk2msftngp13.phx.gbl...
> > 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.
> >
> > --
> > Michael Tissington
> > http://www.oaklodge.com
> > http://www.tabtag.com
> >
> >
>
>



Nov 18 '05 #7
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/steve...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...m.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

Nov 18 '05 #8
Thanks the gateway is a simple web page on a remote site.

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

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com

"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:r6****************@cpmsftngxa06.phx.gbl...
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/steve...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...m.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

Nov 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
3104
by: Thomas Scheiderich | last post by:
I am trying to understand Session variables and ran into a question on how they work with data that is passed. I have an HTM file that calls an ASP file and sends the name either by GET or POST....
2
2418
by: Hans Forbrich | last post by:
The following is a Request for Discussion, following up on some recent posts about distributing a periodic news group 'Charter and FAQ' post. While not formally following RFC/RFD rules, the intent...
0
1801
by: Hans Forbrich | last post by:
Section 1. Ballot: ------------------- 1.YES NO: I agree that there should be a periodic post describing the newsgroup charter and providing a FAQ on newsgroup usage. 2.MONTHLY BI-WEEKLY...
16
2575
by: Andy Lai | last post by:
Hi, I am writing a C++ program which needs to post an XML to an HTTP server periodically and the program will run on different platforms including w32, linux, and unix. I see that there are...
9
1881
by: Alan Silver | last post by:
Hello, From my limited experience with ASP.NET (couple of weeks so far, much time wasted with stupid book), you can only have one form per page. If so, how do you handle the scenario where you...
10
3389
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
2
1992
by: Phlip | last post by:
Newsgroupies: One myth about USENET is that each group has a charter; some "official" list of on-topic concepts. When a post arrives "violating" this myth, the replies that support the myth can...
29
2547
by: GhostInAK | last post by:
I'm seeing a terribly distubing number of questions that have no purpose in existing. As an example: How do I change the position of a stream? Hmm.. Could it be some method on the stream...
8
2910
by: Mr. SweatyFinger | last post by:
where have they all gone. alt.suicide? alt.findContol.then.slit.your.own.throat?
11
3879
by: divya_rathore_ | last post by:
The code: int aaa = 100; printf("%d %d %d\n", --aaa, aaa, aaa--); printf("%d\n", aaa); prints: 99 100 100 98
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7114
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7034
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.