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) »
  • Error when updating billing details for admins and contributers
Pages: [1]

Author Topic: Error when updating billing details for admins and contributers  (Read 504 times)

lorenv

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Wordpress
  • MySQL version: dontknoatmoment
  • PHP version: 5.4
Error when updating billing details for admins and contributers
April 27, 2015, 05:07:02 pm
Hi All,

Version 4.6.2
Platform: Wordpress
Payment Processor: Paypal Payments Pro

So I just noticed that in any membership or recurring contribution email when you go to update the billing address (the token is {ts 1=$updateSubscriptionBillingUrl} ) you get this error.
Fatal error: Cannot use object of type CRM_Core_Payment_PayPalImpl as array in /wp-content/plugins/civicrm/civicrm/CRM/Core/Payment/Form.php on line 212.

I then realized that when you go in an an admin and try to do edit billing details you get the same error.

I am not sure if this is new since I upgraded or has been around for a while, but it seems like a pretty large issue. In all my searching I havent found anyone with the same or even near the same issues so I wonder if this is a new bug.

The lines of code at 212 are

  public static function getPaymentFields($paymentProcessor) {
    $paymentProcessorObject = CRM_Core_Payment::singleton(($paymentProcessor['is_test'] ? 'test' : 'live'), $paymentProcessor);   #this is 212
    return $paymentProcessorObject->getPaymentFormFields();
  }


Any ideas what the issue is and how I might start to solve it? Ill report anything I come up with here.

Thanks!

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: Error when updating billing details for admins and contributers
April 27, 2015, 05:25:29 pm
hi lorenv - i recommend you ask this over at stackexchange now
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

lorenv

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Wordpress
  • MySQL version: dontknoatmoment
  • PHP version: 5.4
Re: Error when updating billing details for admins and contributers
April 27, 2015, 06:19:04 pm
Thanks I shall :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Error when updating billing details for admins and contributers

This forum was archived on 2017-11-26.