|
|
 |
RE: FN-FORUM: .Net Form Posting
date posted 25th February 2008 17:52
Colin / Ben,
Thanks for the input. The intermediate page was the conclusion i had =
come to, but it just seems too much of 'hack' to be the best technical =
way to do it. So being a developer of 'reasonable' repute and pride i =
was hoping to find 'the proper way' of solving this problem.
However i think now its a case of needs must......
So this leaves me with a question regarding this new scenario:
I collect all the data i need, then pass the user onto this intermediate =
page which collects the cookies and programmatically adds them to the =
form i pass to paypal. (Im using the multi-item / cart part of paypal =
rather than just showing the overall purchase total). So i still need to =
run a .Net on the page as ill have server side elements/controls.
However i can pass the page onto Paypal rather than PostBack by using =
this; ' Document.Mainform.Action=3D[paypal url]'?????
Is that right Ben?
So when the user clicks the button it posts the data to PayPal url????
Ok but what if i don=E2=80=99t want the user to have to click a button, =
but for the page to follow the Paypal url without user interaction. Thus =
making this page load, do its stuff, then goto PayPal without the user =
knowing the page was ever called???
Thanks.
Regards
Phill Healey
Munklefish
Po Box 70
Manchester
M34 3SQ
T: 0161 408 4759
=20
=EF=80=A0=EF=81=90 Please consider the environment before printing.
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Colin =
Shipton
Sent: 25 February 2008 18:47
To: FN-FORUM / [EMAIL REMOVED]
Subject: RE: FN-FORUM: .Net Form Posting
> HELP HELP HELP!!!
I'm not sure whether it would help or not, but when you integrate the =
Google
checkout it sends the data to Google using server side form processing =
and
then re-directing the browser to the right page at Google, wondered =
whether
you could have some sort of hidden page on your site which builds the =
form
dynamically from all the data you need and then posts it to PayPal in =
the
same sort of way.
I know this is an extra page that really isn't needed, but sometimes you
have to cater for these problems.
HTH
--=20
Colin Shipton
Intrafusion Website Design & Development
http://www.intrafusion.co.uk
http://www.linkedin.com/in/intrafusion
--=20
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|