PDA

View Full Version : location for paypal ipn's notify_url


Mandler
05-03-2005, 03:57 PM
I'm just learning about using PHP and Perl to interact with other processes.

PayPal has an Instant Payment Notification (IPN) feature that can post to my website and cause a script to verify the transaction with PayPal, send an email, insert a record into MySQL, etc.

Where is the most secure location for the notify_url? To date, I have located all my scripts in the cgi-bin with their permissions set to 0755. I assume (perhaps wrongfully) that I cannot give PayPal a pointer to that location(?). If I can, how do I specify the URL ("http://futurequest.net/[something]")?

If, instead, the location is a www sub-directory ("www.MyDomain.com/someplace"), do I simply have an HTML document that triggers my script and, if so, how do I pass the arguments?

I'm sure (make that "hope") this is much simpler than I'm making it.

Thanks... a.m.

omiedog
06-02-2005, 02:47 PM
I am not sure if you have figured this out yet or not but I have a web site that uses paypal ipn's and stores in mysql, not sure how it does it but you may want to ask at
http://www.ecommercetemplates.com/support/default.asp
...they are very helpful there.
hope this helps

Mandler
06-05-2005, 09:13 PM
I had made some progress. Nonetheless I very much appreciate your reply and the additional information. Thank you.