Title: webhook
Last modified: August 31, 2016

---

# webhook

 *  Resolved [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/webhook-1/)
 * I am using mailchimp for wp free with mailchimp user sync and buddypress. I have
   managed to get one way sync working but haven’t been able to get 2 way. I have
   [http://ucirowing.org/mc4wp-sync-api/webhook-listener](http://ucirowing.org/mc4wp-sync-api/webhook-listener)
   added to my mailchimp webhooks area
 * [https://wordpress.org/plugins/mailchimp-for-wp/](https://wordpress.org/plugins/mailchimp-for-wp/)

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/webhook-1/page/2/?output_format=md) [→](https://wordpress.org/support/topic/webhook-1/page/2/?output_format=md)

 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/webhook-1/#post-7159715)
 * I am still having trouble with this. When signing up for the list via the mailchimp
   form it does not add the user to the website ucirowing.org and I am not sure 
   why.
 *     ```
       //Add buddypress xprofile field to MailChimp Sync
   
       //Call the function
       add_filter( 'mailchimp_sync_user_data', 'mailchimp_buddypress', 10, 2 );
   
       //Write the function
       function mailchimp_buddypress( $data, $user ) {
       	//Get user ID
       	$user_id = $user->ID;
   
       	// Store Xprofile fields in the $data variable
       	$data['STREET'] = xprofile_get_field_data( 13 , $user_id );
       	$data['STREET2'] = xprofile_get_field_data( 14 , $user_id );
       	$data['CITY'] = xprofile_get_field_data( 7 , $user_id );
       	$data['STATE'] = xprofile_get_field_data( 14 , $user_id );
       	$data['ZIP'] = xprofile_get_field_data( 9 , $user_id );
       	$data['PHONE1'] = xprofile_get_field_data( 16 , $user_id );
       	$data['PHONE2'] = xprofile_get_field_data( 17 , $user_id );
       	$data['COUNTRY'] = xprofile_get_field_data( 28 , $user_id );
       	$data['EMPLOYER'] = xprofile_get_field_data( 3 , $user_id );
       	$data['INDUSTRY'] = xprofile_get_field_data( 4 , $user_id );
       	$data['JOBTITLE'] = xprofile_get_field_data( 5 , $user_id );
       	$data['MAJOR'] = xprofile_get_field_data( 6 , $user_id );
       	$data['YEARSROWED'] = xprofile_get_field_data( 10 , $user_id );
       	$data['YEARROWED'] = xprofile_get_field_data( 11 , $user_id );
       	$data['COACH'] = xprofile_get_field_data( 18 , $user_id );
       	$data['ADVDEG'] = xprofile_get_field_data( 19 , $user_id );
   
       	//Return the data
       	return $data;
       }
       ```
   
 * this is my functions.php file also
 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/webhook-1/#post-7159733)
 * Still trying to figure it out.
    I’ve followed this [https://premium.wpmudev.org/blog/mailchimp-updates-wordpress-using-webhooks/](https://premium.wpmudev.org/blog/mailchimp-updates-wordpress-using-webhooks/)
   I used the custom plugin and set it up exactly as the instructions said. I made
   a key and my url is this [http://ucirowing.org/webhook/?key=mailchimpint](http://ucirowing.org/webhook/?key=mailchimpint)
   but when I add this to the mailchimp webhooks I get this message We couldn’t 
   verify the URL is working. Please double check and try again. HTTP Code: 404
 * Not really sure why this doesn’t work, would be nice if I got a reply.
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/webhook-1/#post-7159750)
 * Hi Kyle,
 * I’m sorry for the late reply. Let me try to go through this so we can debug the
   issue together.
 * **Webhook**
 * Please note that the webhook is a feature of our [MailChimp User Sync](https://wordpress.org/plugins/mailchimp-sync/)
   add-on plugin, not MailChimp for WordPress itself.
 * After activating & configuring the plugin, you can [enable the webhook by following the steps outlined in this article](https://mc4wp.com/kb/configure-webhook-for-2-way-synchronizing/)
   and using this as your webhook URL.
 *     ```
       http://ucirowing.org/mc4wp-sync-api/webhook-listener
       ```
   
 * **Additional fields**
    Your filter to send additional user fields actually looks
   good. Are you sure all the fields are named correctly (like they are in MailChimp)
   and that your selected list does not require any other fields?
 * Please note that after registering a new user, it can take up to 1 hour before
   they show up in your MailChimp account (because the sync process is queued with
   a slight delay).
 * Let me know please!
 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/webhook-1/#post-7159752)
 * When I sync the info it works perfectly in one direction, to mailchimp, but modifying
   information on mailchimp or getting a new signup on mailchimp does not sync with
   the site. I am using MailChimp User Sync 1.4.2 by ibericode.
 * I have checked the sync up to a week after signing up via mailchimp form with
   no luck. I just registered a new user again and will be checking after a few 
   hours to see if somehow it has started working.
 * Also, I was having required field issues and had to set first and last name to
   not be required. Eventually this will be fixed after first and last names are
   added to the users on the site.
 * Thank you for replying!
 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/webhook-1/#post-7159755)
 * it seems to still not be syncing from mailchimp to the website. I have nothing
   in my debug logs in mailchimp for wp > other
 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/webhook-1/#post-7159770)
 * Is there a way to do a test and see if my site is receiving the signal properly?
 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/webhook-1/#post-7159781)
 * Could it be that there was no password field in the sign up form?
 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/webhook-1/#post-7159792)
 * hello?
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/webhook-1/#post-7159793)
 * Hi Kyle,
 * Sorry for the late reply, we’re a bit under the weather with preparing for the
   new MailChimp API.
 * Did you [enable the webhook by following this article](https://mc4wp.com/kb/configure-webhook-for-2-way-synchronizing/)?
 * Visiting the webhook endpoint on your site seems to work fine so all you need
   to do is to actually tell MailChimp where your webhook is and for which events
   to ping your site. This is your webhook endpoint:
 *     ```
       http://ucirowing.org/mc4wp-sync-api/webhook-listener
       ```
   
 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/webhook-1/#post-7159794)
 * I followed that completely, I read somewhere about an issue with passwords. Should
   I make a password field in the form and then link it somehow?
    [https://nimbus.everhelper.me/client/notes/share/461733/tg560oy2y5xs9e3pcgyk](https://nimbus.everhelper.me/client/notes/share/461733/tg560oy2y5xs9e3pcgyk)
 *  [Kyle](https://wordpress.org/support/users/kyleheldskybounddesignscom/)
 * (@kyleheldskybounddesignscom)
 * [10 years ago](https://wordpress.org/support/topic/webhook-1/#post-7159800)
 * I’m having the same issue. Kyle – were you ever able to figure this out? I’ve
   had no trouble with using the webhook for other mailchimp plugins on this site,
   but this one has some functionality I really want. Have followed and refollowed
   the instructions. – Kyle H.
 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years ago](https://wordpress.org/support/topic/webhook-1/#post-7159801)
 * I have not had any luck yet, I’ve seen posts about generating passwords and was
   wondering if that was the issue
    [https://wordpress.org/support/topic/use-new-filters-to-create-wp-users-from-mailchimp-subscribers?replies=6](https://wordpress.org/support/topic/use-new-filters-to-create-wp-users-from-mailchimp-subscribers?replies=6)
   I haven’t gotten a reply there either. I’m almost ready to pay for support since
   this has been going on for so long
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [10 years ago](https://wordpress.org/support/topic/webhook-1/#post-7159803)
 * Hi Kyle(s),
 * I’m sorry about the late replies, we do offer free support but obviously our 
   paying customers are getting priority. This is unlikely to be a bug in the plugin
   itself, so it has to be something in your configuration or server set-up which
   makes this very hard to debug like this.
 * Would it be possible for you to send us an email so I can take a closer look 
   at this?
 * Here’s what I can tell so far.
 * – You have the plugin installed on your site, the webhook endpoint is active.
   –
   Your webhook configuration in MailChimp is correct.
 * Now, this means that MailChimp pings your site whenever a change in your subscriber
   base is made. For some reason, your WordPress users are not being updated. This
   can have several reasons.
 * If you go to the settings page of MailChimp User Sync, do you have a list selected
   and does the list show “IN SYNC” with your WP user base?
 * Thanks in advance!
 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years ago](https://wordpress.org/support/topic/webhook-1/#post-7159805)
 * I will email you today, thank you!
 * It does say In Sync, 451/451 but in my list it says I have 463, not too sure 
   about that difference as I believe that has always been there.
 *  Thread Starter [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * (@kyledoesit)
 * [10 years ago](https://wordpress.org/support/topic/webhook-1/#post-7159806)
 * I’m not sure what email I should be emailing to. Mailchimp support from mailchimp.
   com?

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/webhook-1/page/2/?output_format=md) [→](https://wordpress.org/support/topic/webhook-1/page/2/?output_format=md)

The topic ‘webhook’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp-for-wp/assets/icon-256x256.png?rev=1224577)
 * [MC4WP: Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-wp/reviews/)

 * 19 replies
 * 3 participants
 * Last reply from: [kyledoesit](https://wordpress.org/support/users/kyledoesit/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/webhook-1/page/2/#post-7159817)
 * Status: resolved