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

testing: CFHTTP.FileContent = "INVALID" always Options
ziggyziggy
#1 Posted : Monday, December 19, 2005 3:43:35 PM
Rank: Starting Member

Groups: Registered

Joined: 12/19/2005
Posts: 15
Location: ,
As someone else posted: I am having trouble with the IPN response as it always comes through with the CFHTTP.FileContent = "INVALID" instead of "VERIFIED". I am using http://www.eliteweaver.co.uk/testing/ipntest.php. I am using code posted here, tried 2 formats, both the same. I think str isn't EXACTLY what I get, therefore rejectedand an invalid response given. But why? Any ideas????? ********** <cfset x = GetHttpRequestData()> <cfset str="cmd=_notify-validate&" & x.content> <!---post back to PayPal for validation---> <!--- https://www.paypal.com/cgi-bin/webscr?#str# FOR TESTING http://www.eliteweaver.c...esting/ipntest.php?#str# ---> <!--- other format: <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> ---> <cfhttp url="http://www.eliteweaver.co.uk/testing/ipntest.php?#str#" method="GET" resolveurl="no"> <cfdump var="#cfhttp.fileContent#"> **********
Sponsor  
 
ziggyziggy
#2 Posted : Monday, December 19, 2005 4:07:46 PM
Rank: Starting Member

Groups: Registered

Joined: 12/19/2005
Posts: 15
Location: ,
It's saying my script never replied:

HTTP Status: HTTP/1.1 200 OK
IPN Received: Your script did not reply!

I have cfhttp doing other things on the server, so don't see why it wouldn't work here. Anyway, how did cfhttp.fileContent get the INVALID reply???

Here's the url In the cfhttp tag after receiving the orginal post:

http://www.eliteweaver.c...ec%2019%2C%202005%20PDT

See any problems???
ziggyziggy
#3 Posted : Wednesday, December 21, 2005 6:51:13 AM
Rank: Starting Member

Groups: Registered

Joined: 12/19/2005
Posts: 15
Location: ,
Does the Elite form just not work, or what? I can't see anything wrong except it thinks some items are not being posted back exactly the same, but when I use the "follow IPN" button my debugging output seems fine.

Anyone around this forum???
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.145 seconds.