Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error in composing and sending e-mail after placing order may cause that storefront says that order was not placed #3570

@thirdknown

Description

@thirdknown

Ideal solution by me would be to move composing and sending e-mail to asynchronous consumer:

$this->orderMailFacade->sendEmail($order); // PlaceOrderFacade::placeOrder()

Composing e-mail in OrderMailFacade::sendEmail() is very problematic because of composing in templates.

Synchronous composing and sending was a few times very shocking for us after our mistakes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions