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

IPN sets net_amount to 0 inappropriately

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.13, 4.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      In CRM-14930 contribution BAO was fixed so that an appropriate net_amount would be calculated in Contribution:create if none passed in. Unfortunately the IPN::completeTransaction is setting the net_amount to 0 if one is not passed in & overwriting the correct DB value.

      I'm changing the IPN to only set net_amount if it has been given an net amount by the calling function

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: