CodeIgniter Forums
[solved] Paypal IPN hits my ipn function but nothing runs in it - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: [solved] Paypal IPN hits my ipn function but nothing runs in it (/showthread.php?tid=8211)



[solved] Paypal IPN hits my ipn function but nothing runs in it - El Forum - 05-09-2008

[eluser]johnwbaxter[/eluser]
I'm using paypal for something and i have it set to notify me on order payment progress on a url like "http://blah.com/paypal/ipn"

I can see in my apache log the following so i know it is hitting the correct url

... "POST /paypal/ipn HTTP/1.0" 403 1227 "-" "-"

In my ipn controller the very first thing is:

Code:
log_message('PAYPAL', 'have at least got to the ipn function');

But nothing registers in the log and the code that follows that doesn't run either.

Anyone have any idea why this might be happening or perhaps could suggest a better way of logging what is going on?

Cheers!


[solved] Paypal IPN hits my ipn function but nothing runs in it - El Forum - 05-09-2008

[eluser]johnwbaxter[/eluser]
Oh bugger, another stupid bloody mistake, i had denied access to my test site in a .htaccess file from all bar my ip and that was stopping paypal.

Problem very sheepishly solved...