Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-5841

Corporate user e-mail address is not updated for purpose of the next order placing

    XMLWordPrintable

Details

    • [4.6] - Sprint 2
    • Ibexa Commerce

    Description

      Prerequisite:

      1. Create EventListener for \Ibexa\Contracts\OrderManagement\Event\CreateOrderEvent and use dump() on an event object.

       

      Steps to reproduce

      1. Create a new Company under Corporate Accounts, set its' e-mail to company@ibexa.rocks
      2. Create a new Company Admin or Company Buyer under that new company, set its' email to: test@ibexa.rocks
      3. Go to the front-end, login using account created in step 2, add products to basket and proceed to checkout
      4. Fill all necessary fields, pay, see order summary
      5. Modify Company (created in step 1) and adjust its' billing e-mail address, set it to: modified@ibexa.rocks.
      6. Go to front-end, login again using account created in step 2. Add product to the basket, proceed to checkout and payment.
      7. 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.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              kamil.madejski@ibexa.co Kamil Madejski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: