473,394 Members | 1,715 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,394 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
8 992
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
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
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
0
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
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.