Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
reya276 #1
Using CFHTTP to past form variables to paypal
here is the problem I'm using CFHTTP with the Method="POST" to past form
variables to paypal but instead the page where I submit the first form comes up
instead of redirecting me to the paypal page. Any help on this would be greatly
appreciated.
thanks.
<cfif (FORM.pay_type) EQ "2ck">
<cflocation
URL="https://www2.2checkout.com/2co/buyer/purchase?sid=#FORM.sid#&demo=#FORM.dem
o#&total=#total#&card_holder_name=#FORM.card_holde r_name#&street_address=#FORM.s
treet_address#&city=#FORM.city#&state=#FORM.state# &country=#FORM.country#&zip=#F
ORM.zip#&phone=#FORM.phone#&email=#FORM.member_ema il#">
<cfelseif (FORM.pay_type) EQ "pp">
<cfhttp URL="https://www.paypal.com/cgi-bin/websrc" Method="POST"
redirect="yes">
<cfhttpparam name="amount" type="FormField" value="#total#">
<cfhttpparam name="no_shipping" type="FormField" value="1">
<cfhttpparam name="img_url" type="FormField"
value="http://www.ynrgifts.com/store/images/ynr_logo.gif">
<cfhttpparam name="cancel_return" type="FormField"
value="http://www.ynrgifts.com">
<cfhttpparam name="cdm" type="FormField" value="_xclick">
<cfhttpparam name="return" type="FormField" value="#FORM.return#">
<cfhttpparam name="business" type="FormField" value="reya276@yahoo.com">
</cfhttp>
<cfelse>
</cfif>
reya276 Guest
-
Form entries to paypal checkout
That's basically it. I'm looking for a way to collect form entry data of 1 text box and 4 or 5 options and send it dirctly to check out at PayPal.... -
Posting Form - Mix of CFlocation and CFHTTP
Hi, I'm trying to upgrade an integration of PayFlow Link with Verisign What I'd love to be able to do is send a CFLocation with a bunch of variables... -
Variables in PayPal post
The following code posts information to PayPal: <td><form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden"... -
passing php form values to a Paypal cart
Hi, Ok. I have a script which produces output of the form domianname.tld along with a checkbox. There may be up to 5 or six of these if the... -
enctype="multipart/form-data" is screwing up the form variables
In article <25514fc4.0307050937.7f801e8b@posting.google.com>, dhoult@landair.com (Daniel) wrote: If you correct the spelling of "method" does...



Reply With Quote

