The provided prices have mismatched currencies

Created on 8 February 2024, 10 months ago

In quite a few places I bump into this error. This one is when I try to open carts:

Drupal\Core\Entity\EntityStorageException: The provided prices have mismatched currencies: 988.35 USD, 266.21 CAD. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

And the USD is product price, while CAD is shipping. Currency Resolver Shipping module is enabled as well.

Currency mapping: per store
Currency source: Combo mode (or Automatic, does not help)
Exchange rate: manual (via commerce_exchanger)

Any tips?

🐛 Bug report
Status

Active

Version

1.61

Component

Code

Created by

🇭🇺Hungary betarobot

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024