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 website payment standard NOT updating contribution status
Pages: [1]

Author Topic: paypal website payment standard NOT updating contribution status  (Read 2157 times)

sachuit

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.3.beta2
  • CMS version: Joomla! 1.5.22 Stable
  • MySQL version: 5.0.77
  • PHP version: 5.2.10
paypal website payment standard NOT updating contribution status
February 28, 2011, 11:38:15 pm
Hello,

I set up paypal sandbox merchant account and also followed the instructions on http://wiki.civicrm.org/confluence/display/CRMDOC32/PayPal+Website+Payments+Standard+and+Recurring+Contributions

When I test the contribution, after payment it returns back to the site and also updates in PayPal, but the "Contribution" status still shows "Pending: Incomplete transaction"

Even I am not able to find the log file or anything for this.

Can anyone please help me with this as I search a lot for this and found no help?

Thanks in advance.

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 website payment standard NOT updating contribution status
March 01, 2011, 09:52:48 am

1. does your test server have a public IP address?

2. Can you check your apache logs and see if there is a call to ipn.php from the paypal servers?

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

sachuit

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.3.beta2
  • CMS version: Joomla! 1.5.22 Stable
  • MySQL version: 5.0.77
  • PHP version: 5.2.10
Re: paypal website payment standard NOT updating contribution status
March 01, 2011, 03:51:16 pm
Quote from: Donald Lobo on March 01, 2011, 09:52:48 am

1. does your test server have a public IP address?

2. Can you check your apache logs and see if there is a call to ipn.php from the paypal servers?

lobo

Hi Lobo,

Thank you for the reply.

Yes, we have the public IP address. The Joomla site is installed at http://74.54.9.107/~ccnsw/

I have checked the apache error logs and there is no entry for ipn.php or anything from PayPal. What could be wrong here?

Thank you for your help.

sachuit

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.3.beta2
  • CMS version: Joomla! 1.5.22 Stable
  • MySQL version: 5.0.77
  • PHP version: 5.2.10
Re: paypal website payment standard NOT updating contribution status
March 02, 2011, 04:56:19 am
anybody has solved such issue? :( :(

Limerick

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Drupal
  • MySQL version: mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (x86_64)
  • PHP version: PHP 5.2.15
Re: paypal website payment standard NOT updating contribution status
March 02, 2011, 06:40:22 am
Same issue here using a fresh install of Civi 3.3.5 on Drupal 6.20 with PHP 5.2.15 and MySQL 14.12 Distrib 5.0.51a.  The Apache log shows paypal's call to the IPN, HTTP status 200, Paypal's IPN log shows that the payments are complete after I accept the payment (I have the paypal sandbox review payment on) however, there is no CiviCRM.log.  I went in and followed advice from this post: http://forum.civicrm.org/index.php?topic=9389.0, uncommented mentioned lines in PayPalIPN.php within the Core directory, still no log.  And, the biggest issue, the payments in the search for Test Contributions stay Pending.

Any ideas?

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 website payment standard NOT updating contribution status
March 02, 2011, 05:12:42 pm

the log resides at:

Limerick: files/civicrm/templates_c/en_US/ConfigAndLog/CiviCRM.LONG 32 MD5 HASH.log. check the log to see whats happening

sachuit: try invoking the paypal IPN url manually and see what happens, it will be somehing like:


http://74.54.9.107/~ccnsw/sites/all/modules/civicrm/bin/ipn.php

depending on where civicrm is installed

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

sachuit

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.3.beta2
  • CMS version: Joomla! 1.5.22 Stable
  • MySQL version: 5.0.77
  • PHP version: 5.2.10
Re: paypal website payment standard NOT updating contribution status
March 02, 2011, 05:45:13 pm
Quote from: Donald Lobo on March 02, 2011, 05:12:42 pm

the log resides at:

Limerick: files/civicrm/templates_c/en_US/ConfigAndLog/CiviCRM.LONG 32 MD5 HASH.log. check the log to see whats happening

sachuit: try invoking the paypal IPN url manually and see what happens, it will be somehing like:


http://74.54.9.107/~ccnsw/sites/all/modules/civicrm/bin/ipn.php

depending on where civicrm is installed

lobo

Hi Lobo,

I am using Joomla and couldn't find the specific location for ipn.php

Invoking IPN url: I don't understand what you meant.

I also tried using PayPal Pro and using Credit Card on the website it gave me below error message;
Payment Processor Error message
: 10501:Invalid Configuration This transaction cannot be processed due to an invalid merchant configuration.

With PayPal pro, I was able to checkout using PayPal test account successfully though.




Limerick

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Drupal
  • MySQL version: mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (x86_64)
  • PHP version: PHP 5.2.15
Re: paypal website payment standard NOT updating contribution status
March 02, 2011, 06:08:39 pm
Ah yes, I had found that too, but, it's singularly useless in the info it contains.

It's a 92 line file that seems to only contain two events
Neither of

Mar 01 15:48:08  [info] $IDS Detector Details = Array

Mar 01 16:25:25  [info] $IDS Detector Details = Array

One referencing: [page] => /civicrm/admin/setting/preferences/address
The other referencing [page] => /civicrm/admin/setting/preferences/display

Both of which, based on the IP addresses and locations noted as well are me doing things, nothing that seems to smack of a remote access.  I really don't think there is anything in this log that would help, but if there's anything specific?

It is kind of odd that though I've been working on the site all day, only two things are logged heh.

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 website payment standard NOT updating contribution status
March 02, 2011, 07:15:10 pm

limerick: sorry, no idea what the issue is in your case. most likely our ipn script is not being called

sachuit: check the o/p of:

http://74.54.9.107/~ccnsw/administrator/components/com_civicrm/civicrm/extern/ipn.php

compared to:

http://74.54.9.107/~ccnsw/administrator/components/com_civicrm/civicrm/extern/ipn.php

not sure why that happens on your server, but you might want to ask your host / sys admin to help resolve this

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

sachuit

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.3.beta2
  • CMS version: Joomla! 1.5.22 Stable
  • MySQL version: 5.0.77
  • PHP version: 5.2.10
Re: paypal website payment standard NOT updating contribution status
March 02, 2011, 07:18:01 pm
Quote from: Donald Lobo on March 02, 2011, 07:15:10 pm

check the o/p of:

http://74.54.9.107/~ccnsw/administrator/components/com_civicrm/civicrm/extern/ipn.php

compared to:

http://74.54.9.107/~ccnsw/administrator/components/com_civicrm/civicrm/extern/ipn.php

not sure why that happens on your server, but you might want to ask your host / sys admin to help resolve this

lobo
Hi Lobo,

When I go to the URL it throws 500 Internal Server Error. Is there anything wrong with the "File Permissions"? What should the permissions be?

Thank you.

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 website payment standard NOT updating contribution status
March 02, 2011, 07:19:01 pm

sorry cant help u a lot more here. u'll need to ask your hosting provider/sys admin for help

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

Limerick

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Drupal
  • MySQL version: mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (x86_64)
  • PHP version: PHP 5.2.15
Re: paypal website payment standard NOT updating contribution status
March 03, 2011, 03:13:38 am
Okay, the problem I seem to have been having is this:

http://forum.civicrm.org/index.php?topic=14465.0

I'm using multi-site setup rather than single site, the module is in dev.sitename.tld rather than in the all directory as this expects.  Is there any way better than just changing 'all' to 'dev.sitename.tld'?

Is there a setting I haven't set properly somewhere?

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: paypal website payment standard NOT updating contribution status
March 18, 2011, 01:45:33 pm
I resolved this by removing write permission.  See http://forum.civicrm.org/index.php?action=post;topic=19100.0;last_msg=79401

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • paypal website payment standard NOT updating contribution status

This forum was archived on 2017-11-26.