Support » Plugin: MC4WP: Mailchimp User Sync » Changes in MailChimp not syncing with WordPress

  • Resolved rtandoh

    (@rtandoh)


    Hi,

    I can’t get changes made in MailChimp to be reflected in WordPress.

    I have followed the instructions at https://kb.mc4wp.com/configure-webhook-for-2-way-synchronizing/. The only difference being my URL has a secret key on the end of it.

    When I change a subscriber’s email address in MailChimp, I see the following message in the log – which suggests MailChimp and WordPress are communicating:
    Webhook: No user found for MailChimp ID: 8ba6a2fdf3

    When I change a subscriber’s surname in MailChimp, I see the following message in the log:
    Webhook: Request of type profile received for user #74

    I tried forcing a manual sync and waiting for the mailchimp_user_sync_run CRON job to run, but neither resulted in the changes I made in MailChimp reflecting in WordPress.

    I am running WordPress 4.8.1, MailChimp for WordPress 4.1.6 and MailChimp User Sync 1.5.4.

    Any guidance you can provide would be much appreciated.

    Thanks,
    rt.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Lap,

    Been nearly three weeks.

    Any guidance you can provide would be much appreciated.

    Thanks,
    rt.

    Can anyone help?

    Thanks,
    rt.

    I finally managed to make some progress.

    It seems that the two-way sync will only work if you add fields to ‘Settings’ > ‘Send Additional Fields’. In the righthand dropdowns I have three values: ‘First Name’, ‘Last Name’ and ‘MailChimp field’. So, by mapping my ‘last_name’ metadata to ‘Last Name’ and my ‘first_name’ metadata to ‘First Name’, I have managed to get first name and last name changes in MailChimp to sync to WordPress. However, I am not able to get email address changes in MailChimp to be reflected in WordPress. In fact, when I make a change to the email address, the sync fails with the following message: ‘No user found for MailChimp ID: XXXXXXXXXX’. I know the instructions, https://kb.mc4wp.com/configure-webhook-for-2-way-synchronizing/, say not to tick to ‘Email changed’, though doing so makes no difference. So, is it by design that the plugin will not sync changes in email address in MailChimp to WordPress?

    @lapzor, I hope now I am not asking for help per se, but guidance as to how the plugin works, you will respond.

    Thanks,
    rt.

    @lapzor, @dvankooten

    I think under the Configure webhook for 2-way synchronizing instructions, you should mention that:
    1. you have to set the Send Additional Fields setting – that is certainly what I had to do to get it working
    2. by design, changes to the email address are not synced.

    I think it will help others.

    rt.

    Good advice rt, thanks. I now have a updates working both ways.

    Anybody know how to get it to add new subscriptions from MailChimp to WordPress?

    Plugin Contributor Lap

    (@lapzor)

    Woocommerce subscriptions?

    https://github.com/ibericode/mc4wp-snippets/blob/master/add-ons/user-sync/woocommerce-subscriptions.php

    Hope that helps. If you have any questions, please let us know!

    THANK YOU @rtd2 !

    I was totally tearing my hair out.

    The instructions for User Sync REALLY ought to tell you that you need to set first_name and last_name as additional fields before they will sync back from Mailchimp into WordPress.

    IF YOU HAVE THE POWER PLEASE DO IT NOW – UPDATE THAT WEBHOOKS SECTION GUIDE…

    That way the next poor soul will not have to suffer hours of wasted time.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Changes in MailChimp not syncing with WordPress’ is closed to new replies.