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) »
  • All online contributions set as pending WHY?
Pages: [1]

Author Topic: All online contributions set as pending WHY?  (Read 4652 times)

madronemedia

  • Guest
All online contributions set as pending WHY?
November 06, 2008, 02:55:08 pm
I can't find an answer searching the forums or online docs. I'm testing the Live contribution page using google checkout sandbox. Every donation processes (what appears to be) correctly. However the status is set at "Pending (Incomplete Transaction)". Therefore no one automatically is sent an email receipt until I change the status to completed. They do get a receipt via google checkout that says it went through.

So..do all online contributions come in with a the status set to pending???

ginga

  • Guest
Re: All online contributions set as pending WHY?
December 02, 2008, 07:02:45 am
did you every figure this out, I am having the same issue

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: All online contributions set as pending WHY?
December 02, 2008, 10:49:41 am
Pretty sure we have this issue too, but not using PayPal but with an NZ provider - so keen to see the answer/solution.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: All online contributions set as pending WHY?
December 02, 2008, 05:12:47 pm
Quote from: ginga on December 02, 2008, 07:02:45 am
did you every figure this out, I am having the same issue

Please check your CiviCRM.log file (in your configured Uploads directory) - there's often some indication of the problem there.
Protect your investment in CiviCRM by  becoming a Member!

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: All online contributions set as pending WHY?
December 02, 2008, 05:36:55 pm
Quote from: peterd on December 02, 2008, 10:49:41 am
Pretty sure we have this issue too, but not using PayPal but with an NZ provider - so keen to see the answer/solution.

Pete: can you give us more specific details

thanx

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

berreyst

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
Re: All online contributions set as pending WHY?
December 02, 2008, 07:12:26 pm
Not trying to hijack Pete's question, but I have the same issue.  Using Google Checkout, everything goes swell, until the XML post back to the googleNotify.php page.

There, if you look at google's tools, you can see that they are getting a 500 error from the post.

There is nothing in the files/upload/CiviCRM.log, and no authorization errors in the drupal logs for that time, or anywhere near that time.

But, I have checked and the URL is correct.  The two settings for the PHP in phpinfo are also correct.

I sent a request to the hosting provider for the apache log, but thought maybe someone here had troubleshot this beyond the steps I mention and could point me in a new direction.

thx

Steve


berreyst

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
Re: All online contributions set as pending WHY?
December 03, 2008, 04:56:00 am
More details from apache:

[Tue Dec 02 23:47:58 2008] [warn] mod_fcgid: stderr: PHP Warning:
fopen/.../sites/default/files/civicrm/upload/CiviCRM.Google.log)
[<a href='function.fopen'>function.fopen</a>]: failed to open stream:
Permission denied in
/.../sites/all/modules/civicrm/CRM/Core/Payment/GoogleIPN.php
on line 413
[Tue Dec 02 23:47:58 2008] [warn] mod_fcgid: stderr: PHP Fatal error:
Call to undefined function error_func() in
/.../sites/all/modules/civicrm/CRM/Core/Payment/GoogleIPN.php
on line 414

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: All online contributions set as pending WHY?
December 03, 2008, 06:36:40 am

The code is unable to open the log file (the first thing it does). You might want to try to figure out why this is happening, by invoking the url:

/.../sites/all/modules/civicrm/extern/googleNotify.php

the line of code to check is: CRM/Core/Payment/GoogleIPN.php, line 413

one potential reason could be your fcgi config (a speculative guess)

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

berreyst

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
Re: All online contributions set as pending WHY?
December 03, 2008, 07:21:13 pm
Red herring,

In my fooling around, (troubleshooting), I had hosed up the owner and permission of the log file.
It is set back to the way it should be. 

Still, nothing is being changed from pending.
But, I get no error on Google's side, and nothing shows up in the log files.
I have even gone and setup the sandbox, and test account now.  Removed and created new payment processors, etc.

Anywhere else to poke?

sb

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: All online contributions set as pending WHY?
December 04, 2008, 05:56:49 am

If the google request is reaching CiviCRM, we should record something in the log file (CiviCRM.log). If nothing is being recorded, most lilkely a request is not coming through. Can you recheck and potentially call it manually

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

berreyst

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
Re: All online contributions set as pending WHY?
December 04, 2008, 11:51:25 am
There was nothing, but it is working now for real transactions.

Still does not work for the sandbox, but I went ahead and stuck a real $.25 transaction through, and it appears all the chowning and chmoding I did fixed the production issue.

Thanks for the help, hope to see you all around.

orthodoxkohen

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 2
Re: All online contributions set as pending WHY?
December 12, 2009, 08:57:38 pm
Quote from: Donald Lobo on December 04, 2008, 05:56:49 am

If the google request is reaching CiviCRM, we should record something in the log file (CiviCRM.log). If nothing is being recorded, most lilkely a request is not coming through. Can you recheck and potentially call it manually

lobo


I'm having a Pending (Incomplete Transaction) status for civiccontribute.  I have looked at the log found at ../civicrm/upload/CiviCRM.Google.log and everything looks great there.  On the google side, everything there looks clean as well in the integration console.  I have marked the callback api correctly, and changed CRM/Core/Payment/Google.php, 'cws/v2/Merchant/' to 'cws/v2/Donations/' and packages/Google/library/googlecart.php, $this->base_url = $this->server_url."cws/v2/Merchant/" . to $this->base_url = $this->server_url."cws/v2/Donations/"

Any advice?

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: All online contributions set as pending WHY?
December 13, 2009, 07:44:08 am

you might want to first ensure that civicrm processes google transactions WITHOUT any change to the code. that will be a good baseline test (and isolate whether it was the changes that are causing an issue)

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

orthodoxkohen

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 2
Re: All online contributions set as pending WHY?
December 13, 2009, 08:16:47 am
The same Pending status happened even without the Donation url changes to the Core.

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: All online contributions set as pending WHY?
December 14, 2009, 06:48:53 am

sorry no idea. u'll need to debug this and figure out whats happening 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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • All online contributions set as pending WHY?

This forum was archived on 2017-11-26.