The provided prices have mismatched currencies

Created on 24 April 2025, about 1 month ago

Fatal error when trying to add order item to the order via edit page with the currency which do not match other order items.

Drupal\Core\Entity\EntityStorageException: The provided prices have mismatched currencies: 123 USD, 333 DKK. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 816 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

As a solution form validation could be added.

🐛 Bug report
Status

Active

Version

3.0

Component

Order

Created by

🇺🇦Ukraine andriic

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024