Hi, in a Sitecore 9.1 installation, I get an exception:
Unable to cast object of type 'Sitecore.Commerce.Entities.Prices.Total' to type 'Sitecore.Commerce.Engine.Connect.Entities.CommerceTotal'.
It seems this exception originates in a class called Sitecore.Commerce.Engine.Connect.Pipelines.Carts.TranslateCartToEntity, method TranslateTotals, when it calls:
CommerceTotal commerceTotal = this.EntityFactory.Create<CommerceTotal>("Total");
There is probably some sort of configuration error in my setup, but where should I start looking?