Answers.Body: <p>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 <a href="https://lab.civicrm.org/dev/core/-/issues/3381" rel="nofollow noreferrer">this bug report</a>.</p>
  <pre><code>$this-&gt;assign('currency', $params['currencyID']);
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-19T17:29:42.380Z
Answers.LastActivityDate: 2024-01-19T17:29:42.380Z
Answers.UserDisplayName: kapn
Body: <p>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.</p>
  <p>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?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-01-09T22:21:42.210Z
Comments.Text: You can try the patch here: https://lab.civicrm.org/dev/core/-/issues/3381
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-01-10T14:51:25.443Z
Comments.Text: Thanks! I'll give it a try.
Comments.UserDisplayName: kapn
Tags: <civievent><currency>
Title: default currency being used instead of page currency on confirmation pages
ThreadText: # default currency being used instead of page currency on confirmation pages
  
  (Asked by: username_0 on 2024-01-09)
  
  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?
  
  **Tags:** civievent, currency
  
  > **Comments:**
  > **username_1**: You can try the patch here: https://lab.civicrm.org/dev/core/-/issues/3381  
  > **username_0**: Thanks! I'll give it a try.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-01-19. Score: 0 | Accepted answer
  
  username_1'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](https://lab.civicrm.org/dev/core/-/issues/3381).
  
  ```
  $this->assign('currency', $params['currencyID']);
  
  ```
  
  
  ---
  
  