• Anonymous User 18019806

    (@anonymized-18019806)


    Hi there! I was quite excited to find an iContact integration for Contact Form 7, so first, thanks for building it!

    My issue is, contacts aren’t being added to my lists. I know my API creds are right because if I mess them up, I get a failed response, but when correct, here is what I see in the debugger:

    [05/20/2020 7:37 PM] – STATUS : Contact Form 7 response: Mail sent OK | iContact.com response: {“subscriptions”:[],”failed”:[],”unchanged”:[]}

    If you could help me out, I would seriously appreciate it! I’ll definitely be buying you a coffee (or several) if this gets resolved as the iContact API docs are less than what I might hope for and I sure don’t want to have to go down that road. Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • @wordpresswalton it looks like the list array returned from the endpoint in the code may have changed, as it now is [name] => id whereas the code was expecting [id] as the keys.

    Changing the listid in the cf7 config to the list NAME seems to resolve the issue. Not sure why the code is querying for the ids since the user is supposed to supply it but who knows!

    Hope that helps! Changing the listid in config to the name shouldn’t require any code updates, but may need reverted back to the ID if the plugin author releases any code fixes.

    Thread Starter Anonymous User 18019806

    (@anonymized-18019806)

    @joshwebfx, you rock! This 100% did it for me. The name of my list is “Update Subscribers” and when I put that into the “listid” box I was able to add subscribers via the API. Thanks for the help!

    Ah, that worked for me as well. But I am having trouble with last-name not being added to the list. It syncs email and first name just fine. Any help would be greatly appreciated. Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Empty API Response, Subscribers not Being added to lists’ is closed to new replies.