Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have Mailchimp setup and working on my site and also have in working for Ubercart orders but is just doesn't seem to work on Webforms. I have even set up a very simple form with just an email field and the mailchimp field, but after submitting and I check in Mailchimp, the email address has not been added. I'm not getting any error on my site or the logs so not really sure what's wrong.
Comment | File | Size | Author |
---|---|---|---|
#1 | webform-mailchimp.png | 55.96 KB | marcus178 |
Comments
Comment #1
marcus178 CreditAttribution: marcus178 commentedAny suggestion on this, because as far as I can tell this module doesn't work, I've attached a screenshot of my field settings just in case I've done something wrong, but there isn't much room for error.
Comment #2
rcaracaus CreditAttribution: rcaracaus commentedYour problem is that you need to specify which roles can sign up on the list. Do it here > http://yourwebsite.local/admin/settings/mailchimp
You will see:
Choose which roles may subscribe to this list. All users will see the lists they're eligble for at the newsletter subscription page and in the subscription block. Lists assigned to the Authenticated role may also apear in the registration form if that option is selected below. Authenticated user may also manage their list settings from their profile.
[select role]
Now this is where I get messed up. I tested the webform STILL LOGGED IN as admin user after I had clicked "anonymopus users" > I needed to sign out and submit the webform anonymously, then it worked.
Comment #3
blackdog CreditAttribution: blackdog commentedYou are not an anonymous user if you're logged in.
marcus178 - can you confirm if this solves your issue? Otherwise I need to know which version of Mailchimp you are using?
Comment #4
marcus178 CreditAttribution: marcus178 commentedSorry forgot to reply. Yes that resolved the problem thanks.
Comment #5
jpmckinney CreditAttribution: jpmckinney commented