CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • question about civicrm 4.2.7, paypal standard, and IPNs
Pages: [1]

Author Topic: question about civicrm 4.2.7, paypal standard, and IPNs  (Read 818 times)

jimmy_row

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.4
question about civicrm 4.2.7, paypal standard, and IPNs
January 10, 2013, 06:00:23 am
Contributions are remaining in pending(incomplete) status, even though they are going through on the paypal side.  I suspect the IPN is not being received, but I can't find a record of it in the logs.  All the advice I find online directs my to the files/civicrm/uploads folder in my site directory, but there is nothing there.  Instead, ConfigAndLog is its own directory under files/civicrm.  The logs there show nothing about paypal.  I can't find any relevant up-to-date advice online on how to troubleshoot this issue.  If it matters, my site is Canadian and uses CAD$ only.

CityClub

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 0
    • Seattle CityClub
  • CiviCRM version: 4.2.6
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.50
  • PHP version: 5.3.3
Re: question about civicrm 4.2.7, paypal standard, and IPNs
January 10, 2013, 08:43:44 am
I am having the same issue and have made a little progress though the problem still persists. I'd recommend reading through my thread as well (http://forum.civicrm.org/index.php/topic,27296.0.html) to see if anything might help you.

I had to go the very root of my site and look in the 'logs' folder to find the appropriate logs and there probably won't be anything that mentions PayPal directly. Instead look for this ip: 173.0.82.126. I was getting a 404 error because PayPal was getting a bad link from Civi, though now that I've fixed that and only see 200s instead of 404s, I'm still having the issue.
CityClub

planetwebb

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 2
  • CiviCRM version: 4.5.8
  • CMS version: Joomla 2.5.28 / Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.22
Re: question about civicrm 4.2.7, paypal standard, and IPNs
January 10, 2013, 12:42:48 pm
Have you enabled IPN on the PayPal side?

jimmy_row

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: question about civicrm 4.2.7, paypal standard, and IPNs
January 28, 2013, 06:23:27 am
Well, CityClub, thanks for the heads up, but my problem may be a bit different.  I was able to locate the apache log records by the URL getting sent is fine for me.  I never receive anything from paypal sandbox however because all my sandbox payments get 'flagged for review'.  I tried sending an IPN manually, but nothing showed up anywhere.

I wonder if this may be related to mine being a multisite installation of Drupal.

jimmy_row

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: question about civicrm 4.2.7, paypal standard, and IPNs
January 28, 2013, 06:58:37 am
Here's a little more information.

I am able to use the Sandbox features and can find a POST record in apache's access_log following a contribution.  The sandbox account is configured to send IPNs. 

The url that is getting sent looks like this:

/sites/all/modules/civicrm/extern/ipn.php?reset=1&contactID=1&contributionID=74&module=event&eventID=1&participantID=29

I cannot see any record of this in the ConfigAndLog folder.

The site is part of a multy-site drupal installation.


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: question about civicrm 4.2.7, paypal standard, and IPNs
January 28, 2013, 07:58:32 am

1. is civicrm installed in sites/all/modules?

2. can u see an apache entry for that url when paypal makes the callback?

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jimmy_row

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: question about civicrm 4.2.7, paypal standard, and IPNs
January 29, 2013, 06:33:18 am
Hi Lobo,  thanks for the reply.  In answer to your questions,

1) Yes
2) Not sure -- I only see one record for the sandbox URL, which is a POST - I assume there should be a corresponding GET?

James

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: question about civicrm 4.2.7, paypal standard, and IPNs
January 29, 2013, 06:55:34 am

your best bet would be to add some debug statements to the ipn.php scripts and see what paypal is sending back and if its a completed transaction

note that for non USD currencies, sometimes paypal takes a few days to send the completed IPN

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jimmy_row

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: question about civicrm 4.2.7, paypal standard, and IPNs
February 01, 2013, 05:25:02 am
Thanks for your help Lobo, but adding debug scripts is a bit beyond me - wouldn't know where to begin.  We are using CDN dollars, so if that is the issue than I'm just going to push for a different payment processor because our users can't seem to muster the patience (or read notices) to wait until their payment is processed to have their membership confirmed. 

I'm going to ask paypal for guidance as a last resort, but doubt that any support will be provided from them.

Thanks
James

jimmy_row

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: question about civicrm 4.2.7, paypal standard, and IPNs
February 01, 2013, 06:28:06 am
I wonder if the problem has to do with the location of the sites folder -- all my sites (and the shared modules in 'all') are technically in the 'home' folder, which 'sites' is symlinked to in my drupal root directory.   Could this affect things? 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • question about civicrm 4.2.7, paypal standard, and IPNs

This forum was archived on 2017-11-26.