Skip to content

Order email get the wrong (default) language  #9014

Closed
@JoostWan

Description

@JoostWan

Preconditions

  1. PHP 7.0
  2. Magento 2.1.5

Steps to reproduce

  1. Clean Magento 2.1.5 shop with Adyen Payment module
  2. Create a extra store with another language (Like Dutch)
  3. Place a order on the dutch shop
  4. Adyen uses a cron to send a payment conformation to Magento and runs the next code for sending the conformation e-mail: $this->_orderSender->send($this->_order) https://github.com/Adyen/adyen-magento2/blob/develop/Model/Cron.php#L667;
  5. The customer get's the e-mail content in English (default store) and not in Dutch from the store that the customer used to place the order.

In the log's the StoreID of the order is correct. The title was also in default language, we fixed this with #8117 (comment)

But the content of the e-mail is still in default language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions