Posted by cholera on March 3, 2009 at 7:03pm
| Project: | MailChimp |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
I created a list in Mailchimp and provided a couple of interest groups with the form. The module rendered the form correctly (including the interest groups) but when signing up (and choosing an interest group) the choices made for the interest groups were not recorded on the Mailchimp website. The user gets subscribed to the correct mailinglist, however.
Comments
#1
#2
I can confirm this issue as well. Filling out the form at http://example.com/mailchimp/subscribe and selecting a couple of interest groups, they aren't recorded on the mailchimp side. We'll see if we can test further and find the cause/fix.
#3
I replaced the file MCAPI.class.php that comes with this module which is for version 1.1 of the Mail Chimp API with the latest version (1.2) downloaded from Mail Chimp.
I hoped this might solve the problem by itself, but it didn't. I'm now going through the code of module to see where things break and see if I can't find a fix too.
I also need to figure out how to handle special fields like Mail Chimp Addresses and Phone Numbers. According to Mail Chimp API Support:
All they told me about not supporting Interest Groups was that they were surprised that the Drupal Module did not handle this because apparently this has not changed with the new API. But I thought I would update the MCAPI.class.php file anyways and see what it would do if anything for interest groups.
#4
Sorry for the silence and not looking into this folks. I'll try to patch it up in the next week or so. If anyone has a chance to dig in, help/patches are certainly welcome in the mean time.
#5
I've fixed the dev version mailchimp.module file so that it will allow the user to select Interest Groups and have those groups properly be added to the Mail Chimp Member Record. See attached file.
The only problem is that if the Interest Group created at Mail Chimp includes a double-quote (") in it, then when that group is selected on the Drupal form, it acts as though all of the Interest Groups had been selected.
I've been approved for a Drupal CVS account, but I haven't had the time to figure out how to use it yet. So LouBabe, I'll for now I leave that to you.
I haven't tackled the issue of assigning Merge Variables for Interest Groups yet, nor have I done anything to figure out how to add Addresses. I really don't like the way they handle addresses in the Mail Chimp. I think it would be great to be able to integrate this module with the Addresses module using tokens.
Anyways, a step forward, and I look forward to your comments.
#6
replicated and fixed in #567384: Anonymous signup does not update list Groups