Friday, October 18, 2002, 5:58:54 PM, Bud wrote: > Below is the important part of my IPN page. I'm including it because > maybe others can use it.
After a month-long hiatus... First, thanks to Bud for his code. I used that (and I found an earlier post of his from back in June with similar info), plus what I found from a tutorial site ( http://www.easycfm.com/tutorials/index.cfm?tutorial_id=23 ) to get PayPal to work with a simple payment form. Now I have another question. My script has some cfmail tags that send some test data, plus a receipt that goes to the customer. PayPal's IPN site hits the script page continuously and these mails get sent over and over again. I'm not worried about the test data getting sent, but I don't want the receipt to be sent continuously to customers. PayPal explains this in the Help section thusly: "Q. Why is my script being continuously called for the same transaction? A. PayPal's IPN system re-posts to your script after 1 second, then 2 seconds, 4 seconds, 8 seconds, etc., (up to a 4 hour duration), until we receive a basic HTTP "200 OK" response from your web server or 1.5 days have passed since the initial post." My question: is there a way to account for this by testing the HTTP response, or to short circuit this so that only one email gets sent to the customer? Any ideas would be appreciated. Thanks. -- Chris Montgomery monty @ airtightweb.com Airtight Web Services http://www.airtightweb.com Web Development, Web Project Management, Software Sales 210-490-3249/888-745-7603 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

