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

civicrm_financial_item has wrong amount when overriding line item price

    Details

    • Versioning Impact:
      Major (incompatible API change)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      I'm pretty sure this is new behaviour so it seems like a bug.

      When adding a membership via the "Add Membership" or "Submit Credit Card membership", the contribution amount is prepopulated with the membership price.
      However, if the user overrides this, the resulting entry in civicrm_financial_item still has the original default price instead of what the person paid.

      The contribution and transaction look good otherwise.
      I don't think there's a reason why financial item table should list a different price.
      For example, when using event discounts (via CiviDiscount), financial item amount is the discounted price (which I think makes sense).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stan_d Stan Dragnev
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: