- Issue created by @trickfun
- 🇮🇹Italy trickfun
same erro for mobile phone
Unable to create contact, SMS is already associated with another Contact. RequestException: Unable to create contact, SMS is already associated with another Contact, duplicate_parameter
- 🇮🇹Italy trickfun
I think that with this condition, the webform handler is useless.
I can't successfully submit 2 form from same email or phone number.
If contact exists, webform must complete your submissions process.if createContact function (line 1143 of SendinblueApi.php) returns 'duplicate_parameter' code, no exceptions should be throw.
$code = $json_decoded->code; if($code == 'duplicate_parameter'){ //Unable to create contact, SMS or e-mail is already associated with another Contact //skip continue; }
what do you thing?
thank you - 🇮🇹Italy FiNeX
In my opinion this should be a configurable behavior. We should let the site owner to decide how to manage this situation. It should be an option on the handler settings: allow or deny submission when data is already present on Brevo. If the user is allowed no warning are shown, it should simply be logged on watchdog. With the deny option instead it should be printed a message and blocked the redirect.