No luck :( It seems that cfhttp handles posts differently in 5.0 and that's causing the problem.
My immediate fix is to dump it all on the URL, but this makes me extremel y nervous, as URL data truncation is a function of client, and I have no id ea what the size limits are on the url for cfhttp... 255 char? 1k, 4k? Anyone have any idea what this limit would be? Trey Rouse -----Original Message----- From: Plane, Nathaniel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 2:36 PM To: CF-Talk Subject: RE: CFhttp problems between 4.5.1 and 5.0 AND working with PayPal IPN Try it without the URLEncodedFormat, we had a similar problem when migrating over.. What's happening is cfhttparam is encoding it automatically, and hense your ddata is double encoded. Nat -----Original Message----- From: Trey Rouse [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 1:36 PM To: CF-Talk Subject: CFhttp problems between 4.5.1 and 5.0 AND working with PayPal IPN Has anyone experienced any problems using CFHTTP in 5.0? This may be an old question, but I'm definitely experiencing a problem with code that works in 4.5.1 and fails in 5.0. Here is a snippet: <CFSET str="_notify-validate"> <CFLOOP INDEX="TheField" list="#Form.FieldNames#"> <CFSET str = str & "&#LCase(TheField)#=#URLEncodedFormat(Evaluate(TheField))#"> </CFLOOP> <cfhttp url="https://www.paypal.com/cgi-bin/webscr" method="POST" resolveurl="false"> <cfhttpparam type="FORMFIELD" name="cmd" value="#str#"> </CFHTTP> Those of you familiar with the Paypal IPN will recognize this code as almost exactly from their provided example. What I'm finding is on 4.5.1 the http post is being received by paypal correctly. However on 5.0 the first field, cmd=_notify-validate, is not being recognized by their server. Anyone have any similar experiences or a work around? I'm curious if anyone on list has written any code on a 5.0 server that interfaces with the paypal instant payment notification process? Thanks Trey Rouse ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

