Skip to content

Commit 5542c81

Browse files
committed
MAGETWO-92134: [2.2.x] Payment Failed Email is not generated
1 parent c93a64e commit 5542c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Service/PaymentFailuresService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ private function getLocaleDate(): string
283283
*/
284284
private function getCustomerName(Quote $quote): string
285285
{
286-
$customer = __('Guest');
286+
$customer = __('Guest')->render();
287287
if (!$quote->getCustomerIsGuest()) {
288288
$customer = $quote->getCustomer()->getFirstname() . ' ' .
289289
$quote->getCustomer()->getLastname();

0 commit comments

Comments
 (0)