POST operation

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

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.
 
Mark said:
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
 
Mark said:
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
 
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.
 
Mark said:
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,
 
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

(e-mail address removed)
 
Back
Top