The currency conversion providers in Magento 2 have unfortunately over time largely stopped working. Fixer.io, one of the free options that was available, is one of these that is broken in the current versions of Magento 2.

The Fixer.io service had, since Magento initially create the integration, been moved over to the apilayer.com service. API Layer is a website that houses a multitude of different API’s under one house – with some paid for, and some free API’s amongst the mix.

There are a number of bug reports in Magento for this:

Because of this change, the the constant variable, CURRENCY_CONVERTER_URL within Magento/Directory/Model/Currency/Import/Model/Currency/Import/FixerIoApiLayer.php needs updating, to: http://api.apilayer.com/fixer/latest?access_key={{ACCESS_KEY}}’
        . ‘&base={{CURRENCY_FROM}}&symbols={{CURRENCY_TO}}

Fortunately, a patch file has been recently created (confirmed to work on 2.4.3), which also accounts for a switch from LaminasClient to Zendclient (LaminasClient classes due to be released in an upcoming version update).

Fix this Magento Issue

The patch can be found on gihhub, here: https://github.com/magento/magento2/files/10342931/ACP2E-1044-Directory.txt

E-commerce
David Pratt

Everything you need to know about Shopify

Shopify is one of the most powerful eCommerce platforms available, but getting started can be more complex than it first appears. While it offers a user-friendly interface, there’s a lot to consider, from choosing the right pricing plan and setting up your store structure to configuring payment gateways, taxes, and shipping settings. Find out more…
Read More »
Shopify Domain Change
E-commerce
David Pratt

How To Add Domain To Shopify Store

Connecting a custom domain enhances your brand and builds trust with customers. This guide walks you through adding a domain to Shopify, including step-by-step instructions for GoDaddy and Cloudflare domains. Get your store online with a professional URL today
Read More »
DTF Digital