Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter kyledoesit

    (@kyledoesit)

    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

    (@kyledoesit)

    Still trying to figure it out.
    I’ve followed this 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 https://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

    (@dvankooten)

    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 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 and using this as your webhook URL.

    https://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

    (@kyledoesit)

    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

    (@kyledoesit)

    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

    (@kyledoesit)

    Is there a way to do a test and see if my site is receiving the signal properly?

    Thread Starter kyledoesit

    (@kyledoesit)

    Could it be that there was no password field in the sign up form?

    Thread Starter kyledoesit

    (@kyledoesit)

    hello?

    Plugin Author Danny van Kooten

    (@dvankooten)

    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?

    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:

    https://ucirowing.org/mc4wp-sync-api/webhook-listener
    Thread Starter kyledoesit

    (@kyledoesit)

    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

    Kyle

    (@kyleheldskybounddesignscom)

    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

    (@kyledoesit)

    I have not had any luck yet, I’ve seen posts about generating passwords and was wondering if that was the issue
    https://www.ads-software.com/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

    (@dvankooten)

    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

    (@kyledoesit)

    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

    (@kyledoesit)

    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)
  • The topic ‘webhook’ is closed to new replies.