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

PayPal messes up net_amount calculation

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5.6, 4.6.8
    • Fix Version/s: 4.7
    • Component/s: CiviContribute
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      We have the following problem with a PayPal (Express) payment processor:

      1. we donate 3.00 EUR
      2. payment processor reports 0.40 EUR fee_amount
      3. payment calculates net_amount of 2.6 EUR
      4. Upon creating the contribution, CiviCRM "misreads" '2.6' as '26' and records net_amount of 26 EUR. This is a bug (with the API?) that I have observed before when the amount does not have two decimal places (I can't find the CRM atm). It might be related to the inverted decimal point / thousand separator in our installation (German localisation)

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              b.systopia Björn Endres
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: