- 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.
- 🇩🇪Germany Schoenef Unna
For me (having the patch of #3424946 installed) it does not throw errors at all. I actually would like to send a error message to the user, if the contact is already in the list.
- 🇩🇪Germany Schoenef Unna
This patch could be a way to achieve this by configuration (just for the email)