What are common challenges when dealing with multiple currencies in Magento and how can they be addressed?

One common challenge when dealing with multiple currencies in Magento is ensuring that the currency conversion rates are up to date and accurate. This can be addressed by regularly updating the conversion rates through a reliable API or service.

// Example code to update currency conversion rates in Magento
$currencyModel = Mage::getModel('directory/currency');
$currencyRates = Mage::getModel('directory/currency')->getCurrencyRates(
    Mage::app()->getBaseCurrencyCode(),
    array_values($currencyModel->getConfigAllowCurrencies())
);
foreach ($currencyRates as $currencyCode => $rate) {
    $currencyModel->saveRates([$currencyCode => $rate]);
}