-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Description
Hi sendinblue Team,
the double opt in feature is not working for me. The email is sent correctly to the given email address, but when i click the confirmation-button inside mail, i get a blank page and a error in chrome console: Uncaught DOMException: Failed to set the 'href' property on 'Location': 'http://' is not a valid URL.
at HTMLIFrameElement.onload
I've played around with different redirectionUrls and also without this parameter, no success.
Code:
$apiInstance = new \SendinBlue\Client\Api\ContactsApi(
new \GuzzleHttp\Client(),
$config
);
$createDoiContact = new \SendinBlue\Client\Model\CreateDoiContact(
[
'email' => 'mail@example.com',
'redirectionUrl' => '<url>',
'includeListIds' => [2],
'templateId' => 2,
]
);
try {
$apiInstance->createDoiContact($createDoiContact);
} catch (\Exception $e) {
echo $e->getMessage(), PHP_EOL;
}
Regards,
Marco
Metadata
Metadata
Assignees
Labels
No labels