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 Pro IPN not working for recurring in CiviCRM on Wordpress
Pages: [1]

Author Topic: Paypal Pro IPN not working for recurring in CiviCRM on Wordpress  (Read 1073 times)

IndyEvan

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.3.4
  • CMS version: Wordpress 3.5
  • MySQL version: 5.5.28
  • PHP version: 5.3.23
Paypal Pro IPN not working for recurring in CiviCRM on Wordpress
October 11, 2013, 09:34:53 am
Using Wordpress 3.5 with CiviCRM 4.3.4. and Paypal Payments Pro with the recurring donations feature. IPN notifications for the completion of recurring donations are not getting through. There is no notice being processed by CiviCRM when Paypal processes any future recurring contributions from the donor. Normal donations and the first donation (in a recurring series) post properly to CivCRM.

I've tried having Paypal send my IPN notifications to:

http://OURSITE.org/
http://OURSITE.org/wp-content/plugins/civicrm/civicrm/
http://OURSITE.org/wp-content/plugins/civicrm/civicrm/extern/ipn.php

In Paypal the IPNs are listed as "sent".

lolas

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
    • Freeform Solutions
  • CiviCRM version: Several
  • CMS version: Drupal
  • MySQL version: 5.1+
  • PHP version: Several
Re: Paypal Pro IPN not working for recurring in CiviCRM on Wordpress
October 11, 2013, 01:18:52 pm
On our Drupal site it was necessary to have them go to http://OURSITE.org/wp-content/plugins/civicrm/civicrm/extern/ipn.php.

To see if it is working you can check your Apache logs to see if there are accesses to that url.

If you need more detail the code that gets called in CRM_Core_Payment_BaseIPN.php does log quite a bit to your CiviCRM log file (ConfigAndLog folder) if it is accessed.

In the past I've also added something quick and dirty like this to get more details about what I am receiving. It goes after the 'if (empty($_GET)) {" on line 42 of civicrm/extern/ipn.php:

Code: [Select]
if (empty($_GET)) {
  // Begin added debug
  $fh = fopen(dirname(__FILE__) . '/../../../../ipn_log.txt', 'a');
  $str = var_export($_POST, TRUE);
  fwrite($fh, $str);
  fclose($fh);
  // End added debug
Freeform Solutions provides technology and management consulting, website and database development, and managed internet hosting solutions for not-for-profit organizations (NFPs).

IndyEvan

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.3.4
  • CMS version: Wordpress 3.5
  • MySQL version: 5.5.28
  • PHP version: 5.3.23
Re: Paypal Pro IPN not working for recurring in CiviCRM on Wordpress
October 13, 2013, 12:28:35 pm
We think we have found the problem... Paypal was still using http://OURSITE.org for the IPN URL. For some reason, it didn't update when we changed it in Paypal's IPN settings. They are checking on it and seeing if they can fore resend the IPNs to the correct IPN URL.

I will update if that was actually the problem and if it's fixed.

Guy Iaccarino

  • I post occasionally
  • **
  • Posts: 92
  • Karma: 5
    • Greenleaf Advancement
  • CiviCRM version: 4.4.10, 4.5.4
  • CMS version: WordPress 4, Drupal 7, Drupal 6, Joomla 3
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Paypal Pro IPN not working for recurring in CiviCRM on Wordpress
February 11, 2014, 12:16:34 pm
did this fix the problem for you?
Guy Iaccarino
www.greenleafadvancement.com

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Paypal Pro IPN not working for recurring in CiviCRM on Wordpress

This forum was archived on 2017-11-26.