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) »
  • Errors with Paypal Pro in 4.1.1
Pages: [1]

Author Topic: Errors with Paypal Pro in 4.1.1  (Read 638 times)

jmickela

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5
Errors with Paypal Pro in 4.1.1
May 31, 2012, 02:23:39 pm
I'm trying to use a PayPal pro account but I'm getting a large number of notices. Is there any way of dealing with this without disabling notices entirely?



When I am first taken back to the site from paypal I have the following notices:

Code: [Select]
    Notice: Undefined index: is_recur in CRM_Core_Payment_PayPalImpl->setExpressCheckOut() (line 116 of ...sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: middlename in CRM_Core_Payment_PayPalImpl->getExpressCheckoutDetails() (line 163 of ...sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: shiptostreet2 in CRM_Core_Payment_PayPalImpl->getExpressCheckoutDetails() (line 166 of ...sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: payer in CRM_Contribute_Form_Contribution_Confirm->preProcess() (line 75 of ...sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Confirm.php).

Then when I hit Make Contribution I get this on the Thank You page:
Code: [Select]
    Notice: Undefined index: is_recur in CRM_Contribute_BAO_Contribution_Utils::processConfirm() (line 171 of ...sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution/Utils.php).
    Notice: Undefined index: returnURL in CRM_Core_Payment_PayPalImpl->doExpressCheckout() (line 194 of ...sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: cancelURL in CRM_Core_Payment_PayPalImpl->doExpressCheckout() (line 195 of ...sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: settleamt in CRM_Core_Payment_PayPalImpl->doExpressCheckout() (line 207 of ...sites/all/modules/civicrm/CRM/Core/Payment/PayPalImpl.php).
    Notice: Undefined index: billing_state_province_id-5 in CRM_Contribute_BAO_Contribution::createAddress() (line 1085 of ...sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution.php).
    Notice: Undefined index: billing_country_id-5 in CRM_Contribute_BAO_Contribution::createAddress() (line 1085 of ...sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution.php).

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Errors with Paypal Pro in 4.1.1
June 02, 2012, 04:04:21 pm
Quote from: jmickela on May 31, 2012, 02:23:39 pm
I'm trying to use a PayPal pro account but I'm getting a large number of notices. Is there any way of dealing with this without disabling notices entirely?

You could upgrade to 4.1.2 and see if any are fixed there.

You could manually fix them. :)

Last option is disabling notices, as you wrote.
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 »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Errors with Paypal Pro in 4.1.1

This forum was archived on 2017-11-26.