YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

API or CFHTTP Options
epena
#1 Posted : Friday, April 28, 2006 2:17:31 PM
Rank: Starting Member

Groups: Registered

Joined: 4/28/2006
Posts: 1
Location: ,
Its been a while since I've done anywork with paypal, but as I recall I used cfhttp to post my data. Example: ---------------------------------------------------- <cfoutput> <cfhttp url="http://www.paypal.com/cgi-bin/webscr" method="post" resolveurl="yes"> <cfhttpparam type="formfield" name="cmd" value="_xclick" /> <cfhttpparam type="formfield" name="business" value="#form.MerEmail#"> <cfhttpparam type="formfield" name="item_name" value="Server Donation Fund"> <cfhttpparam type="formfield" name="item_number" value="153322"> <cfhttpparam type="formfield" name="currency_code" value="USD"> <cfhttpparam type="formfield" name="receiver_email" value="#form.MerEmail#"> <cfhttpparam type="formfield" name="mrb" value="#form.mbr#"> <cfhttpparam type="formfield" name="pal" value="#form.pal#"> <cfhttpparam type="formfield" name="no_shipping" value="1"> <cfhttpparam type="formfield" name="no_note" value="0"> <cfhttpparam type="formfield" name="bn" value="#form.bn#"> <cfhttpparam type="formfield" name="amount" value="#form.Damount#"> </cfhttp> </cfoutput> ---------------------------------------------------- This is my process page and for some reason the page comes back as blank not returning me to paypal's payment screen. What am I missing or not doing correctly? Should I use cfhttp or try the API? I would like to stick with the cfhttp because all I'm doing is allowing a user to donate money to support a server. What I am also trying to do is store the amount, the user who donated and the date the process took place. site http://donations.black-raiders.com Thanks in advance
Sponsor  
 
d1rty
#2 Posted : Friday, August 10, 2007 11:52:12 AM
Rank: Starting Member

Groups: Registered

Joined: 11/9/2005
Posts: 3
Location: ,
you should just use a simple <form> not a cfhttp
cfhttp retrieves the page and stores it in the cfhttp variable on the server side, you want to send the clients browser to paypal, for which you want a form
d1rty
#3 Posted : Friday, August 10, 2007 11:53:18 AM
Rank: Starting Member

Groups: Registered

Joined: 11/9/2005
Posts: 3
Location: ,
*you should just use a simple &lt;form&gt;
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.262 seconds.