Skip to content

About

Magento 2: currency rates from the European Central Bank (ECB) — no account, no API key. Free, OSL-3.0. Install from repo.webcode.bg/public.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Webcode_ECBRates

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).

Setup

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.

Installation

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:upgrade

Compatibility

Magento Open Source and Mage-OS 2.4.7–2.4.9, PHP 8.3–8.5.

License

OSL-3.0 / AFL-3.0. Free.

About

Magento 2: currency rates from the European Central Bank (ECB) — no account, no API key. Free, OSL-3.0. Install from repo.webcode.bg/public.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages