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) »
  • Debugging PayPal Instant Payment Notification
Pages: [1]

Author Topic: Debugging PayPal Instant Payment Notification  (Read 3092 times)

amazon

  • Guest
Debugging PayPal Instant Payment Notification
October 30, 2007, 10:19:31 am
Hello, I am trying to set up CiviMember to automatically update when memberships are purchased.  I am having trouble getting IPN updates.

I have reviewed:
http://forum.civicrm.org/index.php/topic,265.msg1017.html#msg1017
http://forum.civicrm.org/index.php/topic,800.0.html
http://wiki.civicrm.org/confluence/display/CRMDOC/PayPal+Website+Payments+Standard+and+Recurring+Contributions

But since I am not receiving any entries to the CiviCRM.log file my main problem appears to be with configuring IPN.  Any advice for testing IPN and ensuring that it can write to the CiviCRM.log file?

I have now had to manually update CiviContribute records (3 fields), Contact records (2-10 fields), and CiviMember records (4 fields) for 120 records.  It's taking so long to do manually that it would be cheaper to offer free memberships.   I am hoping to have this automated and working for up to 200 000 memberships.

Cheers,
Kieran

amazon

  • Guest
Re: Debugging PayPal Instant Payment Notification
October 30, 2007, 10:21:47 am
Just found out the version of  PHP is: 5.2.4_p20070914-pl2-gentoo

I am not sure I have control over the version of PHP, does this mean I can't use PayPal and need to switch to a different payment processor, like Google?

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: Debugging PayPal Instant Payment Notification
October 30, 2007, 11:10:49 am

K:

1. manual updating is definitely a no-no :(

2. nothing being written to the CiviCRM.log does indicates that the IPN is not hitting the server (and hence nothing is being updated). the most important setting is at: https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_profile-ipn-notify and should be on

3. i'm pretty sure paypal standard (IPN) works with 5.2.4 (the issue of core dumps is with paypal pro and soap)

4. does this work in test mode

would be great to get ssh access so i can help debug

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

amazon

  • Guest
Re: Debugging PayPal Instant Payment Notification
November 07, 2007, 01:27:30 am
The access log is showing:

127.0.0.1 - - [07/Nov/2007:08:59:32 +0000] "POST /sites/association.drupal.org/modules/civicrm/extern/ipn.php?reset=1&contactID=3&contributionID=304&contributionTypeID=2&module=contribute&membershipTypeID=8 HTTP/1.0" 200 148 "-" "-"

amazon

  • Guest
Re: Debugging PayPal Instant Payment Notification
November 07, 2007, 01:29:58 am
The CiviCRM server is part of a cluster and there are multiple servers including caches.

I think the problem might be that civicrm tries to post back to paypal and doesn't get the IP right.  Is that a possibility?

Kieran

amazon

  • Guest
Re: Debugging PayPal Instant Payment Notification
November 07, 2007, 01:55:36 pm
This was due to CiviCRM being in a multi-site setup.

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+for+Drupal+-+Configure+Multi-site+Installations

Once that was configured correctly everything worked.

amazon

  • Guest
Re: Debugging PayPal Instant Payment Notification
November 07, 2007, 02:44:53 pm
We should have checked IPN: http://association.drupal.org/sites/association.drupal.org/modules/civicrm/extern/ipn.php

Cheers,
Kieran

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Debugging PayPal Instant Payment Notification

This forum was archived on 2017-11-26.