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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • PayPal_Express Fails in Upgraded Site
Pages: [1]

Author Topic: PayPal_Express Fails in Upgraded Site  (Read 1379 times)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
PayPal_Express Fails in Upgraded Site
September 03, 2012, 12:08:52 pm
I upgraded a Drupal 7 CiviCRM 4.1.1 site to 4.2 and a Contribution page that uses PayPal_Express and works in 4.11 fails in 4.2.

The page in 4.2 has no PayPal button, just the CiviCRM "Confirm Payment" button. When I click that (after I enter my email and amount) I get the Confirm Payment page and I click on "Make Payment" and I see

 
Code: [Select]
   Notice: Undefined index: credit_card_type in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 294 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: credit_card_number in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 295 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: month in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 296 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: year in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 296 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: cvv2 in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 297 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: first_name in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 298 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: last_name in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 299 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: street_address in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 301 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: city in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 302 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: state_province in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 303 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: country in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 304 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: postal_code in CRM_Core_Payment_PayPalImpl->doDirectPayment() (line 305 of /home/xxx/www/dev/sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).

and

 
Code: [Select]
Payment Processor Error message
10527: Invalid Data This transaction cannot be processed. Please enter a valid credit card number and type.

but there was never a chance to put in a CC card. Anyhow it's supposed to be PayPal. The page I am now on is the original Contribution page. But now it has no "Confirm Payment" button.

Interestingly, if on the original Contribution page I click the "Confirm Payment" button without entering a value, it returns to the page same, with no error message, but now there is a PayPal button at the bottom. Same result if I try to proceed however.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: PayPal_Express Fails in Upgraded Site
September 03, 2012, 01:35:23 pm
Hi Hershel - it's always worth asking the obvious but forgettable - do you have any tpl overrides in place? (I've been caught enough times)
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

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: PayPal_Express Fails in Upgraded Site
September 03, 2012, 01:35:35 pm
This is definitely a bug, please file a bug report in issue tracker.

Thanks,
Kurund
Found this reply helpful? Support CiviCRM

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: PayPal_Express Fails in Upgraded Site
September 03, 2012, 01:40:19 pm
Quote from: Eileen on September 03, 2012, 01:35:23 pm
Hi Hershel - it's always worth asking the obvious but forgettable - do you have any tpl overrides in place? (I've been caught enough times)

Yes: CRM/Event/Page/EventInfo.tpl but this is a Contribution page.

Quote from: Kurund Jalmi on September 03, 2012, 01:35:35 pm
This is definitely a bug, please file a bug report in issue tracker.

http://issues.civicrm.org/jira/browse/CRM-10764

Thank you
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • PayPal_Express Fails in Upgraded Site

This forum was archived on 2017-11-26.