add success email #14

Merged
csimonis merged 12 commits from feature/success-email into main 2025-02-13 20:14:35 +00:00
Showing only changes of commit 5427c557a1 - Show all commits

View File

@ -28,7 +28,7 @@ class TicketEmailService
->htmlTemplate('email/order.html.twig')
->subject('Abiball Ticket')
->from(new Address($this->senderMail, 'Noreply'))
->to($payment->getCustomer()?->getEmail())
->to(new Address($payment->getCustomer()?->getEmail(), $payment->getCustomer()?->getFirstname() . ' ' . $payment->getCustomer()?->getLastname()))
->context([
'payment' => $payment,
'qr' => (new QRCode())->render($this->generateUrl($payment))