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) »
  • sporadic error before processing payment: "Could not find valid Key"
Pages: [1]

Author Topic: sporadic error before processing payment: "Could not find valid Key"  (Read 880 times)

Sean Madsen

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 5
  • CiviCRM implementer/developer
    • Bikes Not Bombs
  • CiviCRM version: 4.6
  • CMS version: Drupal 7
sporadic error before processing payment: "Could not find valid Key"
May 31, 2009, 08:05:11 pm
Sometimes when users press the "continue" button on their way to PayPal, users are getting the error message "Sorry. A non-recoverable error has occurred. Could not find valid Key" The log for such a case looks like this:

May 31 18:33:43  [info] $Fatal Error Details = Array
(
    [message] => Could not find valid value for eid
    [c0de] =>
)

May 31 18:33:43  [info] $backTrace = /home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Core/Error.php, backtrace, 265
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Utils/Request.php, fatal, 108
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Core/Page/File.php, retrieve, 46
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/CRM/Core/Invoke.php, run, 205
/home/.tertia/bnbftp/crm.bikesnotbombs.org/civicrm-2.2.0-drupal/drupal/civicrm.module, invoke, 339
, civicrm_invoke,
/home/.tertia/bnbftp/crm.bikesnotbombs.org/drupal-6.9/includes/menu.inc, call_user_func_array, 348
/home/.tertia/bnbftp/crm.bikesnotbombs.org/drupal-6.9/index.php, menu_execute_active_handler, 18

The error message is a Civi error, not a PayPal error. When this error occurs, Civi does not insert a new row into `civicrm_contribution` as it would if the error were not occurring.

I talked to a user on the phone and twice she got the error; then during the same telephone conversation she successfully reached PayPal using (what she claims to have been) the exact same steps that produced the error message before reaching PayPal. I am not able to reproduce the error, but she (having a personal fundraising page) claims that many potential donors have contacted her with complaints of her personal fundraising page giving them the error message.

Here are some environment details:
CiviCRM = 2.2.0
Drupal = 6.9
Payment processor = PayPal standard

This issue does not have the same symptoms as the PayPal xclick issue described here: http://forum.civicrm.org/index.php/topic,7836.0.html . I have patched my Civi 2.2.0 version to fix the PayPal xclick issue, and my patch is described here: http://forum.civicrm.org/index.php/topic,7972.msg34646.html#msg34646 (the patch/fix was pretty simple, and that change doesn't seem to be affecting this issue that I'm now having; but I just thought I'd mention it so that people don't point me towards that fix again)

Any help??

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: sporadic error before processing payment: "Could not find valid Key"
June 01, 2009, 10:10:39 am

was the user an anonymous user?

if so, can you check that there is a row in the users table for uid = 0

just looked at the error message, are you uploading an image as part of the contribution page? since that seems to be throwing the error. If so, can you enable the drupal permission: "access uploaded files"

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) »
  • sporadic error before processing payment: "Could not find valid Key"

This forum was archived on 2017-11-26.