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

Cannot record payment for only cents owed

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.27, 4.7.30
    • Fix Version/s: 5.1
    • Component/s: CiviContribute
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      This has been recreated on 4.7.27 and on a clean install of 4.7.30

      To recreate:

      • Create a contribution with status "Pending" (I chose "total amount" = 300.00usd which makes this easy to see) and save.
      • Record a payment on this contribution of 299.99 (or 1 cent less than your original contribution. Note that I couldn't reproduce this with 100.00 and 99.99, but I could with 400.00 and 399.99)
      • Attempt to record a payment on this contribution for the remaining 0.01 owed, and observe the error "Payment amount cannot be greater than owed amount"
      • Attempt to record a payment on this contribution for the amount "0.009" and observe that the contribution is rounded to 0.01 and the contribution is marked as "completed"

       

      Investigated so far:

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Elilisseck Eli Lisseck
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: