Currency rate import service European Central Bank (ECB) for Magento 2.
- Reads the ECB daily reference rates (
eurofxref-daily.xml): public, no account, no API key. - Every pair is computed through EUR, so any base currency works (RON → EUR, RON → BGN, BGN → USD…).
- BGN: the ECB no longer quotes it since Bulgaria joined the euro; the irrevocable rate 1.95583 is used.
- One download per run. A currency the ECB does not quote is reported in the import messages, and the core then saves nothing for that run (Magento's own rule for any import warning).
Stores → Configuration → General → Currency Setup → Scheduled Import Settings: Enabled = Yes, Service = European Central Bank (ECB). The same service is offered under Stores → Currency Rates → Import.
The ECB publishes once per working day around 16:00 CET; a daily import after that is enough.
Webcode's free modules are installed from our own Composer repository — they are not published on Packagist.
composer config repositories.webcode composer https://repo.webcode.bg/public
composer require webcode/module-ecb-rates
bin/magento module:enable Webcode_ECBRates
bin/magento setup:upgradeMagento Open Source and Mage-OS 2.4.7–2.4.9, PHP 8.3–8.5.