Developer forum

Forum » Ecommerce - Standard features » Attempt to aritmatic with two prices of different currency: DKK and USD

Attempt to aritmatic with two prices of different currency: DKK and USD

Mark Preisler
Reply

Hi

Ill keeps getting this aritmatic error. The error happens when a user login, and stays AFK for 20+ minutes and reloads the page, properly when the session expires.

The user is set up with DKK in currency, the website is set up with DKK in currency, the default currency for Danish language is DKK,  But when the website loads, the Dynamicweb.Ecommerce.Common.Context.Currency is USD.

I don’t understand where the USD comes from, can anyone help with what im missing ?

 

Using DW 9.6.8

Capture4.PNG

Replies

 
Steffen Kruse Hansen Dynamicweb Employee
Steffen Kruse Hansen
Reply

Hi Mark,

We are working on a fix for this one. It's a known bug on 9.6.8, so if it's a big problem on your solution, my best advice would be to downgrade to 9.6.7.

Here's the bug number for the fix: TFS#64987

Sorry for the inconvenience.

Best regards,

Steffen

 
Nicolai Pedersen
Reply

You might be able to change the default currency to dkk to work around this...

BR Nicolai

 
Mark Preisler
Reply

Thanks, we downgraded to 9.6.7

 
Mikkel Ulstrup
Reply

After upgrading til 9.6.8 again and taking the latest nuget "ecommerce" package, we now get this error when logged in, and navigating to a language with a different shop than the logged in user.

https://www.screencast.com/t/CVbeMmqvv

 

Related?

Bonus info: Rapido site

Kind regards

Mikkel Ulstrup

 

You must be logged in to post in the forum