Details
-
Bug
-
Resolution: Fixed
-
High
-
4.5
-
[4.6] - Sprint 2
-
Ibexa Commerce
Description
Prerequisite:
- Create EventListener for \Ibexa\Contracts\OrderManagement\Event\CreateOrderEvent and use dump() on an event object.
Steps to reproduce
- Create a new Company under Corporate Accounts, set its' e-mail to company@ibexa.rocks
- Create a new Company Admin or Company Buyer under that new company, set its' email to: test@ibexa.rocks
- Go to the front-end, login using account created in step 2, add products to basket and proceed to checkout
- Fill all necessary fields, pay, see order summary
- Modify Company (created in step 1) and adjust its' billing e-mail address, set it to: modified@ibexa.rocks.
- Go to front-end, login again using account created in step 2. Add product to the basket, proceed to checkout and payment.
- Pay, see order summary. In the dump (in your EventListener) notice that e-mail company@ibexa.rocks is kept. Changes from step 5 are not applied to next orders.
Note:
It seems that e-mails stored in ibexa_order_buyer_user table are not modified while updating Corporate Account.