Context:
The objective of the project is to centralise all information on Mailchimp and synchronize the Drupal information.
Drupal is then a "receptor" of information from Mailchimp and nothing will updated from Drupal to Mailchimp.
Fresh install Drupal 7.36 with a selection of modules.
Following modules installed:
entity 7.x-1.6
entityreference 7.x-1.1
libraries 7.x-2.2
media 7.x-1.5
navbar 7.x-1.6
pathauto 7.x-1.2
token 7.x-1.6
tokenauth 7.x-1.0-alpha1
views 7.x-3.10
wysiwyg 7.x-2.2
cf 7.x-2.1
killfile 7.x-1.5
Modulebuilder 7.x-2.x-dev
Mailchimp 7.x-3.2 installation
- Mailchimp API 2.0.4 downloaded
- Applied patch to allow update of mergevars with rules - see: https://www.drupal.org/node/2379435
- Added API keys on Drupal mailchimp configuration screen
- Created a mailchimp subscribe field and connect user fields with mergevars
Tests and results
(I omit the successful tests)
T2: Adding a new subscriber on Mailchimp that doesn’t exist on Drupal
R2: Doesn’t create the user on Drupal.
Comments: This is related to: https://www.drupal.org/node/2432487
T6: User existing in both Mailchimp and Drupal. Update of the email on Mailchimp
R6: Doesn't modify the email on Drupal.
Comments: Webhook executed upemail and profile reported on drupal log.
T8: User existing in both Mailchimp and Drupal. Update of the connected mergevars on Mailchimp
R8: Doesn't update the Drupal connected fields.
Comments: Webhook executed profile reported on drupal log.
For the test T2 I know is a functionality that is not provided by the Mailchimp 7.x-3.2... but for T6 and T8? Shouldn't those updates be performed by the Mailchimp module?
Could be a problem with the patch applied on https://www.drupal.org/node/2432487 ?
Comments
Comment #1
cubeinspire CreditAttribution: cubeinspire commentedComment #2
cubeinspire CreditAttribution: cubeinspire commentedI solved the missing functionalities of Mailchimp 3.x with a custom module called Mailchimp Back Sync.
I added admin config so you can set it up for your particular context (roles automatically given on user creation etc)
https://www.drupal.org/project/mcbacksync