1. Dave Fisher
  2. Bugs
  3. Friday, 17 January 2014
  4.  Subscribe via email
I have two fields that are required and one interest group. I kept receiving an error message from MailChimp (via your API call) that "FNAME" (first name) was required when submitting the subscribe request via your module interface. I tracked the issue down to a bug where this information was not being passed to CmcHelperRegistration::activateDirectUser(). See the following graphic and associated hack:



CmcHelperRegistration::activateDirectUser() expect the arrays cmc_groups and cmc_interests to be children of cmc (as 'groups' and 'interests'). I am using Joomla's registration process.

*Edit* -- graphic above was poor quality once submitted... here is a smaller cut and hopefully more legible. The PHP module in question is plugins/user/cmc/cmc.php.
Attachments (2)
Responses (3)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Dave,
Have you selected the FNAME in the module settings? Is the field required in mailchimp. If it is required, then you need to select on your end as well.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 1
Accepted Answer Pending Moderation
Yes, they are selected. But despite this, the error was generated from MailChimp as they were not being passed to the API. My plugin settings are below:
  1. more than a month ago
  2. Bugs
  3. # 2
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Dave,
I was able to confirm the issue & I think that I fixed it. Could you please try the following release:
https://compojoom.com/downloads/developer-releases-geeky-stuff/dev-cmc/git5c76699

Thanks,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Powered by EasyDiscuss for Joomla!