nerdyvampire
Forum Replies Created
-
Hey Lap, thanks for your advice so far. Here’s an update.
I found the error in my code (turns out => isn’t the same as ->). So far so good, but it still doesn’t modify the interests of the users I try to add to the MailChimp list. Not even when I directly try to set one of the interests to true, so that’s what I’m working on now. To figure it out I want to find a way to examine the API call MailChimp got, if I can figure out a way to do that.I did not know I could access that log 😮 I will try and access it monday, from my work PC.
Here’s an update;
I have configured the webhook, and am now in the process of editing the ‘create user’ function in the github you linked. It can correctly create an user with some of the field values. I am editing it to fill in the remaining fields, but the groups are giving me a bit trouble. I am testing with -update_user_meta( $user_id, ‘meta_secret’, $data[‘merges’][‘INTERESTS’]);- just to see if I get anything out of it. Right now it is empty.
I’ll be back later.Hi Harish
Thank you first for your reply, it seems like exactly what I need for this problem. Especially a nifty little function in the github, which pulls from the mailchimp database and ‘creates users if none exist’. If everything works here, we should be good. I will come back once it either works or I hit another wall.
Thanks again!