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

4.4.13 inverts test mode from handlePaymentCron

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.13
    • Fix Version/s: None
    • Component/s: CiviContribute
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      Changes to CRM_Core_Payment::handlePayment in the 4.4.13 release make it call CRM_Financial_PaymentProcessor::getPayment and payment processor singleton instantiation methods with an integer instead of the string 'test' as they are expecting.

      This breaks the test mode logic in those functions as the string 'test' casts to 0.

      My fix for this was to re-assign the mode string to $mode before calling these method.

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              agileware Agileware
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: