Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17980

Payment extension __PHP_Incomplete_Class Object

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7, 4.7.1, 4.7.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding

      Description

      Our custom payment extension from our CiviCRM 4.6.12 installation (which works fine on 4.6) doesn't work on 4.7 or 4.7.1

      We get the following notices on the registration pages for an event.

      Notice: Undefined offset: 3 in CRM_Financial_BAO_PaymentProcessor::getPayment() (line 192 of C:\wamp\www\drupal\sites\all\modules\civicrm\CRM\Financial\BAO\PaymentProcessor.php).

      Notice: Undefined index: payment_processor_type_id in CRM_Financial_BAO_PaymentProcessor::getPayment() (line 219 of C:\wamp\www\drupal\sites\all\modules\civicrm\CRM\Financial\BAO\PaymentProcessor.php).

      We get an incomplete class coming through which causes the above errors
      [object] => __PHP_Incomplete_Class Object
      (
      [__PHP_Incomplete_Class_Name]

      Is this a session problem or has something changed in the way payment extension should be written for 4.7? the documentation doesn't appear to have been changed at all since 4.6.

      https://wiki.civicrm.org/confluence/display/CRMDOC/Example+of+creating+a+payment+processor+extension

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rocxa Alex C
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: