0

I administer a site with a default currency of Euros. However, they also do payments for some things in other currencies. It all seems to work fine on contribution pages with both the confirmation page and the receipt (after a Smarty tweak) showing the correct currency.

I've just set up their first event using USD and although the registration page and receipt are correct, the confirmation page shows Euros. Right amounts, but wrong currency. Is this a known problem? I assume there is something hardcoded somewhere in this legacy part of CiviCRM. Thoughts?

2

1 Answer 1

0

Demerit's pointer revealed the solution. Probably I should create a pull request to fix the bug, but all I did for the moment was add the following line to civicrm/CRM/Event/Form/Registration.php as indicated in this bug report.

$this->assign('currency', $params['currencyID']);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.