So I tried implementing IPN, made all the preference changes on Payapl, read up on the lastest IPN tutorial over at easycfm by Mike Daugherty (http://tutorial468.easycfm.com/), and am using the code below.
Unfortunately, I'm only receiving the contents of the <cfelse> statement which means it's not returning "SUCCESS". I'm sure the authToken is correct. Has anyone else tried implementing this code? The whole process works great up until it returns to my ipn.cfm page. Rick -----IPN.CFM------- <cfparam name="url.tx" default=""> <cfset authToken="AOxgkNc95zzHVGCkClZyKUJ10sh8Eh55bkf6epJkcE5sdXoLHhPLC4VrfnC"> <cfset txToken = url.tx> <cfset query="cmd=_notify-synch&tx=" & txToken & "&at=" & authToken> <CFHTTP url="https://www.paypal.com/cgi-bin/webscr?#query#" method="GET" resolveurl="false"> </CFHTTP> <cfif left(cfhttp.FileContent,7) is "SUCCESS"> <cfloop list="#cfhttp.FileContent#" index="curLine" delimiters="#chr(10)#"> <cfif listGetAt(curLine,1,"=") is "first_name"> <cfset firstName=listGetAt(curLine,2,"=")> </cfif> <cfif listGetAt(curLine,1,"=") is "last_name"> <cfset lastName=listGetAt(curLine,2,"=")> </cfif> <cfif listGetAt(curLine,1,"=") is "item_name"> <cfset itemName=listGetAt(curLine,2,"=")> </cfif> <cfif listGetAt(curLine,1,"=") is "mc_gross"> <cfset mcGross=listGetAt(curLine,2,"=")> </cfif> <cfif listGetAt(curLine,1,"=") is "mc_currency"> <cfset mcCurrency=listGetAt(curLine,2,"=")> </cfif> </cfloop> <cfoutput> <p><h3>Your order has been successfully received.</h3></p> <b>Details</b><br> <li>Name: #firstName# #lastName#</li> <li>Description: #itemName#</li> <li>Amount: #mcCurrency# #mcGross#</li> <hr> </cfoutput> <cfelse> ERROR: Check to make sure the authToken value you set is EXACTLY what PayPal gave you in Step 2 </cfif> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255311 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4