Contribution page creates a wrong amount and probably payment processor use this wrong amount
Steps to reproduce
- Set localization settings decimal separator:
,
and thousand separator:.
- Create a contribution page with a amount
897.654.321,987654321
- Make a contribution with this contribution page in live mode. (We used a dummy payment processor)
Whats is wrong?
The amount is changed from 897.654.321,99
to 89.765.432.198.765,00
this is shown on the thank you page as in CiviCRM contribution. So it looks like the wrong amount is charged on the dummy payment processor.
Screenshots
Environment
Drupal 7
CiviCRM 5.37.aplha1 (dmaster)