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) »
  • Not receiving IPNs from Paypal Standard
Pages: [1] 2

Author Topic: Not receiving IPNs from Paypal Standard  (Read 6356 times)

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Not receiving IPNs from Paypal Standard
August 21, 2013, 11:52:45 am
I have been using Paypal without problems for over a year now, taking membership dues.  The last two days, my contributions have stayed in pending.  I got an error message from Paypal today with 7 contributions that are failing (all of them).  Here are two examples:

http://site/administrator/components/com_civicrm/civicrm/extern/ipn.php?reset=1&contactID=10631&contributionID=4577&module=contribute&membershipID=5711

http://site/administrator/components/com_civicrm/civicrm/extern/ipn.php?reset=1&contactID=7073&contributionID=4583&module=contribute&membershipID=11392

When I click on it, it says "Failure: Missing Parameter".  I have checked out all the other posts on this and I have the most uptodate version of both Joomla and Civicrm.  What would cause this to stop working all of a sudden??

Aaron

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Not receiving IPNs from Paypal Standard
August 22, 2013, 12:48:51 pm
So I am still having to manually enter transactions into CiviCRM because of this IPN issue.  Is there any technical documentation on what the missing parameter could possibly be?  I have no idea whether this is a CiviCRM issue or whether Paypal is dropping something off.  Nothing changed on my site, just stopped working two days ago.  Getting frustrated.   >:(

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Not receiving IPNs from Paypal Standard
August 22, 2013, 02:43:58 pm
I think getting missing parameter messages when you click on those links is to be expected as Paypal sends a 'POST' message. You should look in your civicrm log in the ConfigAndLog directory in the same folder as the templates_c directory. Hopefully there will be a useful error message in there.

We had someone yesterday who had failures that related to having a gap in his membership statuses. ie. the grace period & expired period didn't quite tally up
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Not receiving IPNs from Paypal Standard
August 23, 2013, 04:04:04 pm
Thanks so much for responding.  I checked the log file.  Here is the only two errors that I saw that might be related:

Aug 23 13:20:45  [info] $backTrace = #0 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(315): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/System/Joomla.php(551): CRM_Core_Error::fatal("You do not have permission to access this page")
#2 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/System.php(220): CRM_Utils_System_Joomla->permissionDenied()
#3 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(213): CRM_Utils_System::permissionDenied()
#4 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:13))
#5 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:2))
#6 /home2/hetclub/public_html/components/com_civicrm/civicrm.php(85): CRM_Core_Invoke::invoke((Array:2))
#7 /home2/hetclub/public_html/components/com_civicrm/civicrm.php(11): civicrm_invoke()
#8 /home2/hetclub/public_html/libraries/joomla/application/component/helper.php(383): require_once("/home2/hetclub/public_html/components/com_civicrm/civicrm.php")
#9 /home2/hetclub/public_html/libraries/joomla/application/component/helper.php(351): JComponentHelper::executeComponent("/home2/hetclub/public_html/components/com_civicrm/civicrm.php")
#10 /home2/hetclub/public_html/includes/application.php(197): JComponentHelper::renderComponent("com_civicrm")
#11 /home2/hetclub/public_html/index.php(42): JSite->dispatch()
#12 {main}

Aug 23 16:11:10  [info] $backTrace = #0 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(315): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/System/Joomla.php(551): CRM_Core_Error::fatal("You do not have permission to access this page")
#2 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/System.php(220): CRM_Utils_System_Joomla->permissionDenied()
#3 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(213): CRM_Utils_System::permissionDenied()
#4 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:13))
#5 /home2/hetclub/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:2))
#6 /home2/hetclub/public_html/components/com_civicrm/civicrm.php(85): CRM_Core_Invoke::invoke((Array:2))
#7 /home2/hetclub/public_html/components/com_civicrm/civicrm.php(11): civicrm_invoke()
#8 /home2/hetclub/public_html/libraries/joomla/application/component/helper.php(383): require_once("/home2/hetclub/public_html/components/com_civicrm/civicrm.php")
#9 /home2/hetclub/public_html/libraries/joomla/application/component/helper.php(351): JComponentHelper::executeComponent("/home2/hetclub/public_html/components/com_civicrm/civicrm.php")
#10 /home2/hetclub/public_html/includes/application.php(197): JComponentHelper::renderComponent("com_civicrm")
#11 /home2/hetclub/public_html/index.php(42): JSite->dispatch()
#12 {main}

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Not receiving IPNs from Paypal Standard
August 23, 2013, 06:42:35 pm
Nothing else? They just look like people trying to access pages they don't have permission to
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Not receiving IPNs from Paypal Standard
August 23, 2013, 07:33:33 pm
Nope, the rest of the errors all pertain to the mailer.  Would I still get an error if CiviCRM doesn't even register the POST message?  Any other place I ought to look?  Should I look for specific permissions on the folders.  Like I said this worked about 4 days ago and then it just stopped and I got the message from Paypal.  I didn't change a thing. 

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: Not receiving IPNs from Paypal Standard
August 24, 2013, 04:44:56 am

i would write a small shell script to fake an IPN call, something like:

Code: [Select]
#!/bin/sh                                                                                                                         
curl http://crm_32/sites/crm_32/modules/civicrm/extern/ipn.php?reset=1\&module=event\&contactID=102\&participantID=2222\&contributionID=4927\&eventID=57 -d mc_gross=289.00 -d txn_id=5M6789701L0500744 -d invoice=464c1b17c130a3eaffc159629013203e -d payment_status=Completed -d payment_fee=29.00

using the above, i would debug and figure out where the ipn call is failing and why.

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

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Not receiving IPNs from Paypal Standard
August 26, 2013, 08:07:28 am
Thanks Don.  I am starting with Paypal to see why their IPN messages they are sending me dont have any of the other information -  transaction id, amount, etc...

I will be sure and post anything I learn.

isherwood

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Joomla! 2.5.17
  • MySQL version: 5.5.35
  • PHP version: 5.4.22
Re: Not receiving IPNs from Paypal Standard
September 26, 2013, 05:43:43 pm
Bump. Any further findings here? We're fighting with a very similar issue where PayPal transactions are not being finalized.

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Not receiving IPNs from Paypal Standard
October 15, 2013, 07:04:43 am
No I am still not receiving IPNs, Paypal informed me they have stopped sending them and I cannot figure out what changed.  We have been manually completing them for now.  I am wondering if it is a permissions issue.  I have had problems with some applications in Joomla changing permissions and my ISP blocked my site until the permissions were changed back.  I am still trying to find out why that is happening.  My administrator/components/com_civicrm/civicrm/extern director is set at 0644, but I am not sure if that is where the ipn records get dropped.  If this has been solved or figured out I would love to know.

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Not receiving IPNs from Paypal Standard
October 15, 2013, 07:26:25 am
I just went in and tried to send this entire IPN again.  I am still getting the error "Failure: Missing Parameter".  My return URL in Paypal is www.OURSITE.org but I also tried www.OURSITE.org/administrator/components/com_civicrm/civicrm/extern/ipn.php and it still failed.  It shows the error in Paypal as an HTTP error 406.  I would appreciate any help.  Manually completing transactions is getting pretty old.   :(

http://www.OURSITE.org/administrator/components/com_civicrm/civicrm/extern/ipn.php?reset=1&contactID=1062&contributionID=4997&module=contribute&membershipID=2956 handling_amount=0.00&payer_id=JU6X3CZXE9JP8&ipn_track_id=edb5b790e6ab3&invoice=####cfc36ef53dd04a926585597ca1ea&shipping=0.00&charset=windows-1252&payment_gross=43.00&verify_sign=AFcWxV21C7fd0v3bYYYRCpSSRl31ANCZTyqzEDWygAomtvCertm6Rokg&item_name=Online Contribution: OUR Club Membership&txn_type=web_accept&receiver_id=LP6VFS4CNKPA2&payment_fee=1.55&mc_currency=USD&transaction_subject=&custom=&protection_eligibility=Ineligible&payer_status=verified&first_name=firstname&mc_gross=43.00&payment_date=06:19:04 Oct 15, 2013 PDT&payment_status=Completed&quantity=1&business=membership@OURCLUB.org&item_number=&last_name=lastname&txn_id=####76814U7255116&mc_fee=1.55&resend=true&payment_type=instant&notify_version=3.7&payer_email=email@site.com&receiver_email=membership@OURCLUB.org&tax=0.00&residence_country=US

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Not receiving IPNs from Paypal Standard
October 15, 2013, 01:13:11 pm
Have you checked your error log. If you can find 'templates_c' & at the same level there is a folder called ConfigAndLog.

I'm not too sure what's in 4.3 but I have done quite a few patches to increase what gets logged which are all in 4.4 & our 4.2 repo.

(We actually have adapted the file that the ipns hit so that all ipns are logged to DB (https://github.com/fuzionnz/civicrm/blob/4.2-master/extern/ipn.php)
& we can re-run them using and api for troubleshooting (https://github.com/fuzionnz/civicrm/blob/4.2-master/api/v3/NotificationLog.php) 
- but once again I think there is code in 4.4 & our 4.2 repo to facilitate these that 4.3 doesn't have)

 
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Jon-man

  • I’m new here
  • *
  • Posts: 19
  • Karma: 1
  • Supporting voluntary action since 1975
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.28
  • MySQL version: 5.1.68-cll
  • PHP version: 5.3.18
Re: Not receiving IPNs from Paypal Standard
October 30, 2013, 05:45:41 am
We've got the same problem Hudson: -
  • PayPal payments are successfully made
  • Payments remain incomplete within CiviCRM
Still no closer to a solution - this is occurring on Drupal 7/CiviCRM 4.3.4

Jon-man

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: Not receiving IPNs from Paypal Standard
October 30, 2013, 06:54:30 am

hey hudosn & jon-man:

1. i would upgrade to 4.3.7 (or 4.3.8 coming next week) and see if the problem occurs

2. i'd take a look at the ipn url in paypal and resend the ipn and check the apache logs

3. i'd run the ipn url directly in the browser and see what is happening

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

Jon-man

  • I’m new here
  • *
  • Posts: 19
  • Karma: 1
  • Supporting voluntary action since 1975
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.28
  • MySQL version: 5.1.68-cll
  • PHP version: 5.3.18
Re: Not receiving IPNs from Paypal Standard
October 30, 2013, 07:29:28 am
hi Lobo/Hudson,

Our server was responding to the ipn.php page with a HTTP 500 error.

But now we get HTTP 200 (OK message)

Our fix - thanks to Bails - was a server configuration change: -
He added tmp to our

/etc/php5/fpm/pool.d/oursite.conf file

php_admin_value[open_basedir] = /var/www:/var/sites/oursite.org.uk:/tmp

Hope this helps someone out there.

Jon-man
(Thanks again Bails)

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Not receiving IPNs from Paypal Standard

This forum was archived on 2017-11-26.