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

Why is my script being continuously pinged Options
deven@cyberpulse.co.uk
#1 Posted : Thursday, December 23, 2004 10:13:13 AM
Rank: Starting Member

Groups: Registered

Joined: 12/23/2004
Posts: 1
Location: ,
Hi, Im using coldfusion for my IPN page and have it setup so that it sends the user an email once they have purchased my product. This all works fine when the user chosses to pay in Dollars(USD), however if you choose to pay in Punds(GBP) then the page keeps getting called, resulting in the user recieveing loads of emails from my system, this is a problem as i send a new username and serial numer each time so my database has 20 odd records for one transaction. I am using the same page regardless if you pay in pounds or dollars, but i dont see how that would mae a difference, i read on paypal about this and it said. "PayPal's IPN system re-posts to your script after 10 seconds, then 20 seconds, 40 seconds, 80 seconds etc., (up to a 24-hour duration), until we receive a basic HTTP ' 200 OK' response from your web server or four days have passed since the initial post." But what i dont get is why it works for dollaaaars but not for pounds? anyway here is the top of my code. " <!-- 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(Evaluate(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> <!-- post back to PayPal system to validate --> <CFHTTP URL="https://www.paypal.com/cgi-bin/webscr?#str#" METHOD="GET" RESOLVEURL="false"> </CFHTTP> " any help would be much appreciated, thanks Dev
Sponsor  
 
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.202 seconds.