Author Topic: Is the paypal ipn.php suppose to return 404?  (Read 242 times)

Offline yshah

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • ICNA Southern California
  • CiviCRM version: 4.2.2
  • CMS version: Acquia Drupal 7.15
  • MySQL version: 5.0.96-community
  • PHP version: 5.3.17
Is the paypal ipn.php suppose to return 404?
« on: October 12, 2012, 02:28:40 am »
I have Paypal standard setup as our default payment for web.  When I try to go to the URL that paypal has noted as the Notification URL, I get a 404.  Is this the page that is returning it, or is there some deeper issue occuring?  I see the file and everything looks right, I just can't get to the notification url.  IPN History is complaining it can't reach the notification URL and logs a 404 error as the reason.   Any ideas?

Offline Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 14782
  • Karma: 442
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Is the paypal ipn.php suppose to return 404?
« Reply #1 on: October 12, 2012, 08:02:43 am »

whats the url?

lobo
Found this reply helpful? Contribute NOW and help improve CiviCRM with the Make it Happen! initiative.

Offline yshah

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • ICNA Southern California
  • CiviCRM version: 4.2.2
  • CMS version: Acquia Drupal 7.15
  • MySQL version: 5.0.96-community
  • PHP version: 5.3.17

Offline Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 14782
  • Karma: 442
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Is the paypal ipn.php suppose to return 404?
« Reply #3 on: October 12, 2012, 02:08:48 pm »

can u figure out what the ipn url is for your site.

that url seems valid but gives me a 404 when i click on it.

lobo
Found this reply helpful? Contribute NOW and help improve CiviCRM with the Make it Happen! initiative.

Offline yshah

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • ICNA Southern California
  • CiviCRM version: 4.2.2
  • CMS version: Acquia Drupal 7.15
  • MySQL version: 5.0.96-community
  • PHP version: 5.3.17
Re: Is the paypal ipn.php suppose to return 404?
« Reply #4 on: October 12, 2012, 03:53:24 pm »
Ok, found that the permissions were not set correctly when copied over the new CiviCRM 4.2.2 files.  Paypal can now communicate with the ipn.php file.

Are there steps that talk about permissions when upgrading? I didn't see anything noted in the upgrade guide.

Offline Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 14782
  • Karma: 442
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Is the paypal ipn.php suppose to return 404?
« Reply #5 on: October 12, 2012, 06:09:00 pm »

can u elaborate a bit more on what u mean by "permissions were not set correctly"?

lobo
Found this reply helpful? Contribute NOW and help improve CiviCRM with the Make it Happen! initiative.

Offline yshah

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • ICNA Southern California
  • CiviCRM version: 4.2.2
  • CMS version: Acquia Drupal 7.15
  • MySQL version: 5.0.96-community
  • PHP version: 5.3.17
Re: Is the paypal ipn.php suppose to return 404?
« Reply #6 on: October 12, 2012, 06:17:31 pm »
Not sure exactly.  Our system administrator changed the file permissions to 644, while the folder had the permission set to 755.  After he modified these permissions, then the url was able to be reached without encountering a 404 response.