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

Tax amount stored incorrectly in civicrm_contribution

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.5
    • Component/s: CiviContribute
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      Scenario (steps to reproduce)

      Enable Sales Tax with amounts shown inclusive of tax.
      Create Sales Tax liability account (‘GST’) with 10% rate.
      Create taxable financial types (stand-alone contribution, membership fee, event fee) with GST referenced as Sales Tax account.
      Create a new contribution record (with or without a related membership or event record) with a manually entered or default amount (no price-set used) as $100, status of ‘Completed’, payment instrument ‘Cash’. GST will be calculated and a tax-inclusive total amount displayed and recorded correctly in the database, but civicrm_contribution.tax_amount is stored 10.10 rather 10.

      Its a regression due to changes made for https://issues.civicrm.org/jira/browse/CRM-17034

        Attachments

          Activity

            People

            • Assignee:
              pradeep.nayak Pradeep Nayak
              Reporter:
              pradeep.nayak Pradeep Nayak
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: