PayPal IPN stopped working, 58 memberships must be manually processed now
| Project: | Drupal.org infrastructure |
| Component: | association.drupal.org |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Narayan Newton |
| Status: | active |
Jump to:
Looking at the backlog of memberships contributions in CiviCRM, it appears that the last automatically completed membership was done March 27th, 2008. The contributions after this date only show completed if I manually completed them.
http://association.drupal.org/civicrm/contribute/search to search for past contributions and you'll see the last contribution is: http://association.drupal.org/civicrm/contact/view/contribution?reset=1&...
There is a IPN log written to by CiviCRM that should aid in debugging. It's located here: http://association.drupal.org/sites/association.drupal.org/modules/civic...
and currently gives this error:
Fatal error: Call to undefined function watchdog() in /var/www/association.drupal.org/htdocs/sites/association.drupal.org/civicrm.settings.php on line 170
Cheers,
Kieran

#1
Thanks for reporting this. Not sure how that watchdog entry got in there, certainly doesn't belong there. I removed it and ipn is now reporting no errors.
#2
Successful membership purchase: http://association.drupal.org/civicrm/contact/view/contribution?reset=1&...
Thanks Michelle!
Kieran
#3
http://association.drupal.org/sites/association.drupal.org/modules/civic... this is now giving a blank page. Is that the right location?
Do you know where the IPN log is?
#4
Heh, your Planet post reminded me that I hadn't done that, yet. It was long overdue.
BTW, I use the same email for everything. Easier that way. :)
Michelle
#5
The CiviCRM log file is:
/var/www/association.drupal.org/htdocs/files/civicrm/upload/CiviCRM.log
We should see if there are errors.
Kieran
#6
The log shows a mix of completed transactions and:
"Apr 30 21:43:32 [info] PayPalIPN path not available
Apr 30 21:45:51 [info] PayPalIPN path not available" these.
I was assuming the ipn page wasn't supposed to show much of anything and was just an interface into the db. What is it supposed to look like?
#7
I think you are right, the page isn't supposed to show anything. But we need to monitor the log as I am not getting the volunteers I need to do the manual processing.
Kieran
#8
civicrm.settings.php should not contain a call to watchdog(). CiviCRM doesn't load Drupal core when it handles PayPal IPN, but it does load civicrm.settings.php. That's why the error only occurs when it's handling IPN.
"I think you are right, the page isn't supposed to show anything."
That is correct.
#9
This code may clarify the current errors:
http://svn.civicrm.org/civicrm/trunk/extern/ipn.php
"PayPalIPN path not available" has been changed to "Could not get module name from request url" in more recent releases.
#10
This appears to be fixed. We might want to have a check to ensure this doesn't break in the future. It was broken for 40 days and we consumed a lot of my time, and the time of several dozen people who were donating to the Drupal association.
#11
@David: Thanks, I was figuring that was the cause of the error (me going to the page without being sent there by a module)
#12
I'm going to re-open this. I need to remember to write up a way to monitor this.