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

Pending pledge payments logic may fail in contribution form

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.4.8, 4.0.8
    • Fix Version/s: 4.1.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      Pending pledge payments logic may fail in contribution form ...

      ... if there are several active pledges but only one of them has open items and it is not the last one checked ...

      as the action code that is executed if $paymentsDue is set but $multpleDue is false
      fetches values are taken from the most resent $payments result. This is "false" though
      if the last pledge checked had no open items. The actual data for the open item
      found is stored in $paymentsDue instead, so this variable needs to be used instead
      of $payments

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              hholzgra Hartmut Holzgraefe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: