sending form variables with POST without form

hi all,

i'm using ASP and Javascript.
A client has a shopping cart which, at the end of the order process, is submitted to a database... the details of this order are then submitted to paypal for payment.

so my problem is this :

the form with all the details of the order is submitted and the database insert scripts are run... how can i now pass all these variables on to paypal using POST ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Loganathan NatarajanLAMP DeveloperCommented:
You can very well create a FORM on a ASP page, where you can get all the values on the hidden fields / paypal parameter ... then have redirection on the page to the paypal process page...

i have experienced this, it worked me well,
Loganathan NatarajanLAMP DeveloperCommented:
something like this,

after db insert get values or retriev them and put it from methods
asp process code, 
		<head><title>Tets Page</title></head>
	<form name="frmpremium" method="post" action="<%URL%>">
		<input type=hidden name="Amount" value="">
		<input type=hidden name="Order_Id" value="<%   %>">	
		<input type=hidden name="Merchant_Id" value="">		
		<input type=hidden name="WorkingKey" value="<%   %>">	
		<input type=hidden name="Redirect_Url" value="">
		<input type=hidden name="Checksum" value="<% %>">
	<script language="javascript" type="text/javascript">

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Use XMLHTTP Object
See the link below for more details
dog_starAuthor Commented:
a simple solution that works well.... thanks...
Loganathan NatarajanLAMP DeveloperCommented:
Glad to help!... Thanks for your grade!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.