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 IPN never received - Status of contribution remains pending
Pages: [1] 2

Author Topic: PayPal Standard IPN never received - Status of contribution remains pending  (Read 6776 times)

tms020348

  • Guest
PayPal Standard IPN never received - Status of contribution remains pending
September 10, 2010, 03:04:21 pm
I'm running Joomla! 1.5 with CiviCRM 3.2.  We've set up PayPal per CiviCRM instructions.  Testing the CiviCRM contribution seems to work to the PayPal sandbox, but the IPN is never received by CiviCRM.  The IPNs are sent, but are never received by CiviCRM and the status of each contribution remains "pending".

I have looked for the CiviCRM.log file on the server, but it does not exist. 
There are no (zero) server errors.

htaccess.txt seems okay for directories. 

I'm at a loss for where to go now.

Any assistance would be joyfully appreciated at this point.

Tom

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 10, 2010, 04:42:32 pm
Do you have access to the Apache log? You are looking for 'hits' on your website to the IPN url (which should include extern/IPN.php)

Also, I assume you don't have an htaccess password in place?
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

tms020348

  • Guest
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 10, 2010, 05:16:55 pm
Apache hits says the following:
*

   
/administrator/components/com_civicrm/civicrm/extern/ipn.php?reset=1&contactID=1&contributionID=22&
   Http Code: 200    Date: Sep 10 15:27:48    Http Version: HTTP/1.0    Size in Bytes: 58
   
The status code 200 seems to indicate that the transaction was successful. But the status of the transaction remains at pending.

Is that a valid assumption on my part?  What should the write access for the /com_civicrm/civicrm/extern/ folder be set to in htaccess.txt? 
Thank you for your help.
Tom


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 10, 2010, 06:10:12 pm
Try accessing the same URL in your browser
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

tms020348

  • Guest
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 11, 2010, 02:17:57 am
Some progress. No cigars yet, but progress. Thanks.

I went to Apache Hits again and found the entry that showed an IPN transaction arriving from paypay.  The address/path Apache identified was as follows:

http://[mysite]/administrator/components/com_civicrm/civicrm/extern/ipn.php?reset=1&contactID=1&contributionID=25&module=contribute

I then tried this address to see if it connected to ipn.php in that path.  It returned the following:

Failure: Missing Parameter

I then went to the ipn.php file in that subdirectory and searched through the code for the error.  That code called the core\payment\paypalipn.php which said the following:

#
if ( $abort && $value === null ) {
#
CRM_Core_Error::debug_log_message( "Could not find an entry for $name in $location" );
#
echo "Failure: Missing Parameter<p>";
#
exit( );


So what is $name in $location?  I wonder.  Looks like I'm finally getting to the module, but it's not receiving what it wants.

Any help still much appreciated.
Tom

tms020348

  • Guest
HELP -Still struggling with PayPal Standard -- Still Pending contribution status
September 11, 2010, 10:42:00 pm
Looking for real help with this. 

Using PayPal Standard.  Using CiviCRM with Joomla! 1.5
Everything works except there is no IPN registered, and the status remains "Pending".

The url sent by PayPal is as follows:

/administrator/components/com_civicrm/civicrm/extern/ipn.php?reset=1&contactID=7&contributionID=31&module=contribute

The site returns:
"Failure: Missing Parameter"

Help! Please!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 12, 2010, 01:45:17 pm
Can you update your profile with your CiviCRM version?
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

tms020348

  • Guest
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 12, 2010, 04:00:05 pm
3.2 CiviCRM

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 12, 2010, 04:05:51 pm
Since you weren't able to find your logfile (should be in your templates_c directory under config&Log) you could try editing the lines you are looking to find out the missing parameter on screen

You could change CRM_Core_ERROR::debug_log_message("error message you want to capture") temporarily to
echo "error message you want to capture"
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

tms020348

  • Guest
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 12, 2010, 04:43:38 pm
Ok. Found the log file.  It was not CiviCRM.log but a file with the name of:

CiviCRM.---- long id ----.log

It contains all the errors.  This is the last transaction error sections:

Quote
#
Sep 12 00:26:36 [info] returning since contribution status is pending
#
 
#
Sep 12 00:32:02 [info] Could not find an entry for invoice in POST
#
 
#
Sep 12 00:40:18 [info] Could not find an entry for invoice in POST
#
 
#
Sep 12 18:32:12 [info] $Fatal Error Details = Array
#
(
#
[message] => We can't load the requested web page due to an incomplete link. This can be caused by using your browser's Back button or by using an incomplete or invalid link.
#
Code: [Select]
=>
#
)
#
 
#
 
#
Sep 12 18:32:12 [info] $backTrace = /home/trcnorth/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 261
#
/home/trcnorth/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/ContributionBase.php, fatal, 204
#
/home/trcnorth/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Main.php, preProcess, 62
#
/home/trcnorth/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php, preProcess, 314
#
/home/trcnorth/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Display.php, buildForm, 99
#
/home/trcnorth/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
#
/home/trcnorth/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
#
/home/trcnorth/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php, handle, 279
#
/home/trcnorth/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, run, 219
#
/home/trcnorth/public_html/components/com_civicrm/civicrm.php, invoke, 81
#
/home/trcnorth/public_html/components/com_civicrm/civicrm.php, civicrm_invoke, 24
#
/home/trcnorth/public_html/libraries/joomla/application/component/helper.php, require_once, 162
#
/home/trcnorth/public_html/includes/application.php, renderComponent, 124
#
/home/trcnorth/public_html/index.php, dispatch, 68
#
 
#
Sep 12 18:34:33 [info] returning since contribution status is pending
#[/quote]
 

It looks as though the /home/trcnorth/public_html.... directories are in error.  Where is this path set please? 

Thanks in advance.
Tom

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 12, 2010, 05:04:11 pm
Is it a recurring payment? If you comment out line 302 (approx - refers to invoice) does it work or do you get a different error?
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

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 12, 2010, 05:06:10 pm
Nb - I think the concept of invoice ID is pretty new - if you have a recurring payment involved & it started on a prior version that could be a reason but I do now think you are hitting a bug not a configuration error
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

tms020348

  • Guest
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 12, 2010, 06:19:36 pm
This is not for a recurring contribution, but a straight contribution (one time). 

I think the path is wrong.  The current error is pointing to:


/home/trcnorth/public_html/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/ContributionBase.php

But my real path is (I believe) /home/public_html/etc. 

Is this path the one set in Directory settings?  If so, I have a separate problem, as if I attempt to change the path, I get an error in trying to set it.

Thanks for your thoughts.
Tom

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: PayPal Standard IPN never received - Status of contribution remains pending
September 12, 2010, 08:50:23 pm

1. invoiceID has been present since the very early days :)

2. seems like your contribution in paypal is still pending. check the log message at 18:34

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

tms020348

  • Guest
Re: PayPal Standard IPN never received - Status of contribution remains pending
September 13, 2010, 08:04:22 am
PayPal transaction was completed in PayPal.  It's only in CiviCRM that it is still pending.

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • PayPal Standard IPN never received - Status of contribution remains pending

This forum was archived on 2017-11-26.