473,698 Members | 2,796 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1846
"Mark" <mark@nospamfor meplease> wrote in message
news:uy******** ******@TK2MSFTN GP14.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@nospamfor meplease> wrote in message
news:uy******** ******@TK2MSFTN GP14.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@nospamfor meplease> wrote in message
news:uy******** ******@TK2MSFTN GP14.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.WebC lient, 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.WebC lient 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.ge ZwaYrrenZ.com> wrote in message
news:cr******** **@ngspool-d02.news.aol.co m...

"Mark" <mark@nospamfor meplease> wrote in message
news:uy******** ******@TK2MSFTN GP14.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.WebC lient 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@nospamfor meplease> wrote in message
news:eE******** ******@TK2MSFTN GP12.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.ge ZwaYrrenZ.com> wrote in message
news:cr******** **@ngspool-d02.news.aol.co m...

"Mark" <mark@nospamfor meplease> wrote in message
news:eE******** ******@TK2MSFTN GP12.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.ge ZwaYrrenZ.com> wrote in message
news:cr******** **@ngspool-d02.news.aol.co m...
That should read " I will send more detailed information"

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

"Mark" <mark@nospamfor meplease> wrote in message
news:eE******** ******@TK2MSFTN GP12.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

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

Similar topics

9
7601
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 the address bar - http://www.mysite.com/myPage.asp - I'd like to be able to detect that they're trying to circumvent the form and redirect them to the appropriate page using Response.Redirect().
6
10980
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 type='text' name='login' size='30'/> Password:<input type='password' name='login' size='30'/> </form>
18
1922
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
7626
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 print out some forms that were created in vs6 causing this issue to occur. I may be way off here but that is why i'm posting this message. Performing Post-Build Event... Access is denied. 0 file(s) copied. Project error: A tool returned an error...
0
1392
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; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls;
11
4801
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 title='Off'><input type='hidden' value='Image' name='Action'><input type='hidden' value='hs.ExecX10ByName "Kitchen Espresso Machine", "Off", 100'></form> I've been trying this but I get a syntax error... params = urllib.urlencode({'hidden':...
4
1806
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 POST to http://www.mysite.com/processTheRequest. The data being sent across is XML like so "<request><data>alot of text data that I will manipulate and save to the sql database</data></request>"
13
9830
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 handled with the same overload, but I just want to make sure.
9
1275
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 then marks the rows as having been sent. It all works fine except for one thing. There have been a couple of times when the 2nd part chokes due to a conflict on the server. The mail is sent out but it never gets around to marking the rows as...
0
8683
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8871
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7739
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.