fix: initialize DOI in booking create flow with newsletter subscription
This commit is contained in:
@@ -112,7 +112,7 @@ class Step4Controller extends AbstractBookingCreateController
|
|||||||
if (true === $newsletterOptInSelected) {
|
if (true === $newsletterOptInSelected) {
|
||||||
try {
|
try {
|
||||||
$targetParticipant = $this->resolveNewsletterTargetParticipant($bookingCreateDto);
|
$targetParticipant = $this->resolveNewsletterTargetParticipant($bookingCreateDto);
|
||||||
$this->doubleOptInService->requestDefaultListSubscription(
|
$this->doubleOptInService->requestConfirmation(
|
||||||
$newsletterTargetEmail,
|
$newsletterTargetEmail,
|
||||||
$targetParticipant?->firstName,
|
$targetParticipant?->firstName,
|
||||||
$targetParticipant?->lastName,
|
$targetParticipant?->lastName,
|
||||||
|
|||||||
Reference in New Issue
Block a user