473,418 Members | 2,354 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,418 software developers and data experts.

POST operation

Hi All,

I could do with some assistance...

I am working on an ecommerce site in vb.net (aspx) I have built all my pages
that perform the checkout process and gets to a summary screen where you
check your data prior to making payment. The problem I have is that the
external payment provider requires that I POST (GET is not allowed) the data
to them where there site takes over and when complete returns back to the my
site.

The problem I have is how do I POST to an external website when aspx
requires the POST operations for standard page operation.(its such a simple
thing that is causing me so much pain!)

Or if anyone has integrated an aspx site with HSBC banking services (UK) I
would much appreciate any help!

Thanks in advance.

Mark.
Nov 19 '05 #1
10 1814
"Mark" <mark@nospamformeplease> wrote in message
news:uy**************@TK2MSFTNGP14.phx.gbl...
Hi All,

I could do with some assistance...

I am working on an ecommerce site in vb.net (aspx) I have built all my
pages that perform the checkout process and gets to a summary screen where
you check your data prior to making payment. The problem I have is that
the external payment provider requires that I POST (GET is not allowed)
the data to them where there site takes over and when complete returns
back to the my site.

The problem I have is how do I POST to an external website when aspx
requires the POST operations for standard page operation.(its such a
simple thing that is causing me so much pain!)


Use the WebRequest APIs from the server-side.

John Saunders
Nov 19 '05 #2

"Mark" <mark@nospamformeplease> wrote in message
news:uy**************@TK2MSFTNGP14.phx.gbl...
Hi All,

I could do with some assistance...

I am working on an ecommerce site in vb.net (aspx) I have built all my pages that perform the checkout process and gets to a summary screen where you
check your data prior to making payment. The problem I have is that the
external payment provider requires that I POST (GET is not allowed) the data to them where there site takes over and when complete returns back to the my site.

The problem I have is how do I POST to an external website when aspx
requires the POST operations for standard page operation.(its such a simple thing that is causing me so much pain!)

Or if anyone has integrated an aspx site with HSBC banking services (UK) I
would much appreciate any help!

Thanks in advance.

Mark.

I use paypal which requires a form post. The way paypal works is you post
the cart and (if you want) the user information to their system for further
processing (as opposed to just approving the credit card transaction). If it
is the way hsbc works then you can build a standard html form using asp.net
which posts the information to the processor. Separately they send a
webrequest back to your site confirming the transaction. I can provide more
detail if this what you are trying to accomplish. If you are just looking
for approval of a credit card number and amount then the prior suggestion
should work.
Mike
Nov 19 '05 #3
John Saunders wrote:
"Mark" <mark@nospamformeplease> wrote in message
news:uy**************@TK2MSFTNGP14.phx.gbl...
Hi All,

I could do with some assistance...

I am working on an ecommerce site in vb.net (aspx) I have built all
my pages that perform the checkout process and gets to a summary
screen where you check your data prior to making payment. The
problem I have is that the external payment provider requires that I
POST (GET is not allowed) the data to them where there site takes
over and when complete returns back to the my site.

The problem I have is how do I POST to an external website when aspx
requires the POST operations for standard page operation.(its such a
simple thing that is causing me so much pain!)


Use the WebRequest APIs from the server-side.


Or System.Net.WebClient, if it's really just a simple POST.

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss.de
Nov 19 '05 #4
Thanks Everyone...

hsbc are a bit of a pain as you have to send over a set of fixed details
such as billing and shipping data as well as a hashed version of all this
data (hash created server side using a COM component provided by the bank).

So in simple speak, I collect all the data about billing and shipping, plus
obviously my cart details, hash all this together and then need to POST the
hash plus all other fields to their website. Their site takes over and put
the user through the card payment process and then sends back a server side
response to show if the transaction was approved or denined, and then they
send the user session back to your site as well.

All of this is really easy in ASP 3.0 but the whole POST thing in aspx is
really getting me down.

John / Joerg - Do the System.Net.WebClient provide everything I need to
achieve this?

vMike - Your experiences on how you worked with paypal would be much
appreciated.

once again, thanks all!
Mark.
"vMike" <Mi****************@noYandZ.geZwaYrrenZ.com> wrote in message
news:cr**********@ngspool-d02.news.aol.com...

"Mark" <mark@nospamformeplease> wrote in message
news:uy**************@TK2MSFTNGP14.phx.gbl...
Hi All,

I could do with some assistance...

I am working on an ecommerce site in vb.net (aspx) I have built all my

pages
that perform the checkout process and gets to a summary screen where you
check your data prior to making payment. The problem I have is that the
external payment provider requires that I POST (GET is not allowed) the

data
to them where there site takes over and when complete returns back to the

my
site.

The problem I have is how do I POST to an external website when aspx
requires the POST operations for standard page operation.(its such a

simple
thing that is causing me so much pain!)

Or if anyone has integrated an aspx site with HSBC banking services (UK)
I
would much appreciate any help!

Thanks in advance.

Mark.

I use paypal which requires a form post. The way paypal works is you post
the cart and (if you want) the user information to their system for
further
processing (as opposed to just approving the credit card transaction). If
it
is the way hsbc works then you can build a standard html form using
asp.net
which posts the information to the processor. Separately they send a
webrequest back to your site confirming the transaction. I can provide
more
detail if this what you are trying to accomplish. If you are just looking
for approval of a credit card number and amount then the prior suggestion
should work.
Mike

Nov 19 '05 #5
Mark wrote:
Thanks Everyone...

hsbc are a bit of a pain as you have to send over a set of fixed
details such as billing and shipping data as well as a hashed version
of all this data (hash created server side using a COM component
provided by the bank).
So in simple speak, I collect all the data about billing and
shipping, plus obviously my cart details, hash all this together and
then need to POST the hash plus all other fields to their website.
Their site takes over and put the user through the card payment
process and then sends back a server side response to show if the
transaction was approved or denined, and then they send the user
session back to your site as well.
All of this is really easy in ASP 3.0 but the whole POST thing in
aspx is really getting me down.

John / Joerg - Do the System.Net.WebClient provide everything I need
to achieve this?


I guess so, but I'm not sure -- since you say it's easy to do in ASP, can
you post some sample code that illustrates the process?

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss.de
Nov 19 '05 #6

"Mark" <mark@nospamformeplease> wrote in message
news:eE**************@TK2MSFTNGP12.phx.gbl...
Thanks Everyone...

Mark,
Send me you email address and I some more detailed information.

Mike
Nov 19 '05 #7
That should read " I will send more detailed information"

"vMike" <Mi****************@noYandZ.geZwaYrrenZ.com> wrote in message
news:cr**********@ngspool-d02.news.aol.com...

"Mark" <mark@nospamformeplease> wrote in message
news:eE**************@TK2MSFTNGP12.phx.gbl...
Thanks Everyone...

Mark,
Send me you email address and I some more detailed information.

Mike

Nov 19 '05 #8
hi mike,

m4rka at hotmail.co.uk

Thanks,
Mark.

"vMike" <Mi****************@noYandZ.geZwaYrrenZ.com> wrote in message
news:cr**********@ngspool-d02.news.aol.com...
That should read " I will send more detailed information"

"vMike" <Mi****************@noYandZ.geZwaYrrenZ.com> wrote in message
news:cr**********@ngspool-d02.news.aol.com...

"Mark" <mark@nospamformeplease> wrote in message
news:eE**************@TK2MSFTNGP12.phx.gbl...
> Thanks Everyone...
>

Mark,
Send me you email address and I some more detailed information.

Mike


Nov 19 '05 #9


Mike Troj

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #10
Mike, can you please send me the datailed info on this subject as well?
is it supposed to be the same page that first Post the ccinfo to the
processor and than waits for the response?

I am looking for some samples that emulate the process of credit card
authorization.

thanks a lot,
Mike Troj

mi*******@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #11

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

Similar topics

9
by: MDW | last post by:
Say I've got a page - myPage.asp - that expects to see the results of a form's POST operation. If it comes from the form, all is fine. However, if someone were to manually type the address in...
6
by: brian_mckracken | last post by:
This might not be the right group for this question, since its kind of a pure html question... Given the html construct: <form action='index.php?expand=0,10000' method='post'> Email: <input...
18
by: Patrick Wood | last post by:
I found a problem with C# and post increments. I was going through some source code in c++ and found someone did a post increment: int x=0; for(int i=0; i<10; i++) { x = x++; }
8
by: John | last post by:
Here is the current error that im getting when building my solution. The only thing i can think of is that i needed to install visual studio 6 after visual studio .net was already installed to...
0
by: khawar | last post by:
here is my code that i am using to send the post to verisign: using System.Drawing; using System.Data; using System.Data.SqlClient; using System.Data.OleDb; using System; using System.Web.UI;...
11
by: livin | last post by:
I need to post form data to an ASP page that looks like this on the page itself... <form method='POST'><input src=\icons\devices\coffee-on.gif type='image' align='absmiddle' width=16 height=16...
4
by: Jay | last post by:
Hello all, I was wondering if someone can point me to a tutorial that show me how I can set up a web service that can listen for me to send a POST from a client? like so Client sends http...
13
by: jehugaleahsa | last post by:
Hello: In C++, you had to distinguish between post and pre increments when overloading. Could someone give me a short demonstration of how to write these? I get the impression that are...
9
by: Keith G Hicks | last post by:
I have a vb app that runs on a server. It periodically checks for rows in a table that are ready to have data mailed out to clients. After it finds row(s) that are ready, it emails the info out and...
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
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...
0
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,...
0
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
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...

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.