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) »
  • PayPal Standard - Membership is pending - IPN working (I think)
Pages: [1]

Author Topic: PayPal Standard - Membership is pending - IPN working (I think)  (Read 558 times)

groston

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34
  • PHP version: 5.3.27
PayPal Standard - Membership is pending - IPN working (I think)
August 26, 2013, 12:53:24 pm
I am trying to get a new Drupal/CiviCRM site working and am struggling with the Membership module. I believe that everything is configured properly and that my site and PayPal (Sandbox) are communicating. However, the test memberships I have tried remain stuck in Pending. Here are some details:

First attempt (had something wrong, so I asked PayPal to resend the IPN)

CiviCRM log:
Aug 26 12:43:37  [info] Contribution record updated successfully
Aug 26 12:43:38  [info] Receipt sent
Aug 26 12:43:38  [info] Success: Database updated

<realized that something was misconfigured, fixed it, then asked PayPal to resend the IPN>

site access log:
173.0.82.126 - - [26/Aug/2013:12:57:23 -0400] "POST /sites/all/modules/civicrm/extern/ipn.php?reset=1&contactID=40&contributionID=4&module=contribute&membershipID=6 HTTP/1.0" 200 49 "-" "-"

CiviCRM log:
Aug 26 12:57:23  [info] returning since contribution has already been handled

NOTE: I am barely a novice PHP programmer, but I looked around and found the code which generates this message at line 181 of PayPalIPN.php. The comments above this line read: check if this contribution transaction is already processed. Since this message was generated, the contribution had already been processed - but why then is the status still Pending?


Second attempt (thinking everything is properly configured)


CiviCRM log:
Aug 26 14:21:12  [info] Contribution record updated successfully
Aug 26 14:21:12  [info] Receipt sent
Aug 26 14:21:12  [info] Success: Database updated

site access log:
173.0.82.126 - - [26/Aug/2013:14:21:11 -0400] "POST /sites/all/modules/civicrm/extern/ipn.php?reset=1&contactID=30&contributionID=6&module=contribute&membershipID=9 HTTP/1.0" 200 - "-" "PayPal IPN ( https://www.paypal.com/ipn )"

PayPal indicates that the transactions are complete. There are no errors noted in the Drupal log file. I ran the Update Membership Statuses scheduled job, but that had no effect. The IPN message shows "payment_status=Completed".

I am not sure where to look next - please suggest what I might do to resolve this problem. Thank you.
« Last Edit: August 26, 2013, 08:49:41 pm by groston »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • PayPal Standard - Membership is pending - IPN working (I think)

This forum was archived on 2017-11-26.