Umbraco.Commerce.Issues
Umbraco.Commerce.Issues copied to clipboard
An error occured whilst fetching the exchange rate for order
I get these errors in the log
An error occured whilst fetching the exchange rate for order "3b7bcff7-5582-4fdf-ab62-018f3359192d"
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Extensions.Caching.Memory.CacheExtensions.TryGetValue[TItem](IMemoryCache cache, Object key, TItem& value)
at Umbraco.Commerce.Infrastructure.Services.CurrencyExchangeRateServiceBase.GetExchangeRate(String fromCurrencyIsoCode, String toCurrencyIsoCode, DateTime date)
at Umbraco.Commerce.Core.Events.Domain.Handlers.Order.SetOrderBaseCurrencyExchangeRate.Handle(OrderFinalized evt)
When completing orders with a currency that is different that the Base Currency.
Umbraco 13.1.1 Umbraco Commerce 13.1.3