• Resolved martscc

    (@martscc)


    On my site I have two CF7 forms connected via short to two different lists, but the contacts who send the form are not displayed in the lists.
    I wrote to customer support who responded like this:
    “I checked the case against the embedded form on the client’s site and it appears that the form was created using the WPCF7 plugin and not through our plugin. I also validated the details against an example contact and, indeed, the contact was not was synced and an error occurred:

    {“code”:”duplicate_parameter”,”message”:”The contact already exists”} has been received. This error is expected when contact creation requests are received for contacts that already exist on our platform, and the value for the “updateEnabled” key is passed as “false”.

    Since “WPCF7” is not developed by us, please kindly ask the customer to contact their support team. Have them adjust their requests and pass the value of the “updateEnabled” parameter as “true” when making requests to our platform.”

    How can I solve it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

    Hello, I also get the same problem trying to integrate CF7 with Brevo. I intend to use Brevo in such a way that contact updates are essential.

    I used the following code in WPCode

    add_filter(
    ‘wpcf7_sendinblue_contact_parameters’,
    function($params) {
    $params[‘updateEnabled’] = true;
    return $params;
    }
    );

    It keeps giving me the following error.

    Use of undefined constant ‘wpcf7_sendinblue_contact_parameters’ - assumed '‘wpcf7_sendinblue_contact_parameters’' (this will throw an Error in a future version of PHP)

    This is the form I used to test the integration. https://ciaps.org/personal-statement-form-test/ and it still doesn’t update records.

    PS. Wouldn’t all this be easier if the CF7 team just set the updateEnabled parameter to be “true” by default?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WPCF7 integration with Brevo’ is closed to new replies.