Hi Stylo,

Further thought on this, have you checked your firewall is allowing the
traffic with Paypal?

Jenny

-----Original Message-----
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 23 December 2005 21:49
To: CF-Talk
Subject: RE: help with paypal ipn testing - always INVALID response


I've done this in CF with no problems.  Did you use the sample code on the
paypal site?

This is the Paypal code which I use just as they've posted it and it works
fine.

<!-- read post from PayPal system and add 'cmd' -->
<CFSET str="cmd=_notify-validate">
<CFLOOP INDEX="TheField" list="#Form.FieldNames#">
<CFSET str = str & "&#LCase(TheField)#=#URLEncodedFormat(Form[TheField])#">
</CFLOOP>
<CFIF IsDefined("FORM.payment_date")>
<CFSET str = str & "&payment_date=#URLEncodedFormat(Form.payment_date)#">
</CFIF>
<CFIF IsDefined("FORM.subscr_date")>
<CFSET str = str & "&subscr_date=#URLEncodedFormat(Form.subscr_date)#">
</CFIF>
<CFIF IsDefined("FORM.auction_closing_date")>
<CFSET str = str &
"&subscr_date=#URLEncodedFormat(Form.auction_closing_date)#">
</CFIF>
<!-- post back to PayPal system to validate -->
<CFHTTP URL="http://www.paypal.com/cgi-bin/webscr?#str#"; METHOD="GET"
RESOLVEURL="false">
</CFHTTP>

<!-- check notification validation -->
<CFIF #CFHTTP.FileContent# is not "VERIFIED">
<cfabort>
</cfif>

-----Original Message-----
From: stylo stylo [mailto:[EMAIL PROTECTED]
Sent: 23 December 2005 03:16
To: CF-Talk
Subject: Re: help with paypal ipn testing - always INVALID response


Any ideas anyone?????





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227868
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to