473,379 Members | 1,220 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

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
13 1639
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 #2
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 #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
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
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
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
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 #8
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 #9
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 #10
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 #11
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 #12
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 #13
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 #14

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

Similar topics

15
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
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
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
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
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
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
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
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
by: Mr. SweatyFinger | last post by:
where have they all gone. alt.suicide? alt.findContol.then.slit.your.own.throat?
11
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.