Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6, 4.7
-
Component/s: CiviContribute
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
If the locale of CiviCRM is a country where the decimal separator is a comma (such as ... all of Europe!), entering a contribution with a decimal transaction fee leads to an incorrect total amount.
So for example a contribution of 50 € with a fee of 0,95 € leads to a total of - 45 € (minus 45).
This is due to the Javascript calculating the total assuming that we are with an English locale and deleting all commas in the amounts. So calculating: 50 - 95 = -45
Attachments
Issue Links
- links to
(4 links to)