By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,678 Members | 1,144 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,678 IT Pros & Developers. It's quick & easy.

POST operation

P: n/a
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
Share this Question
Share on Google+
10 Replies


P: n/a
"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

P: n/a

"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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a

"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

P: n/a
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

P: n/a
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

P: n/a


Mike Troj

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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.