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

Incorrect financial records are created for partially paid multiple memberships via Membership backofice form

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.19
    • Fix Version/s: 4.7.23
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      Yes

      Description

      Steps to replicate:
      1. Create a membership price set with two membership types price option that belong to different organization
      2. Then register for the two membership type A ($50) and B ($20)
      3. The total amount is freezed to $70 as the sum of membership fee of A and B. Then change the status to 'Partially Paid'
      4. After submit. Pay the owed amount via 'Record Payment' form.

      As on 'Record Payment' form, the owed amount is $140 (2x70$) which is incorrect. This is because the corresponding two membership lineitems and financial records are created with total amount $70 each. Its because of the underlying code is written in such a way that for each membership new financial items are recorded that result into N times of owed amount for N memberships, unlike participant and contribution.

      This was bug was encountered while fixing https://issues.civicrm.org/jira/browse/CRM-20569

        Attachments

          Activity

            People

            • Assignee:
              pradeep.nayak Pradeep Nayak
              Reporter:
              monish.deb Monish Deb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: