Announcement

Collapse
No announcement yet.

Mailchimp Grouping/Group Id bug

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mailchimp Grouping/Group Id bug

    EDIT: FIXED IN Advanced Pack 1.18.0

    When a user syncs a targetlist to a mailchimp group you store both the grouping and the group Id. This is correct, however you then use the grouping ID rather than the group id to make the subscription request.

    MailChimpManager.php:632 should be : $subscribeElem = $this->getRecipientHelper()->formatSubscriber($parsedRecipient, false, $targetList->get('mcListGroupId'));
    Last edited by alasdaircr; 03-31-2017, 09:31 AM.

  • #2
    Actually that's not working either. Have you tested the Mailchimp List Group subscription feature?

    Comment


    • #3
      It couldn't have ever worked.

      This is how your request should be presented:

      PHP Code:
      $args = array(
      'method' => 'PUT',
        
      'headers' => array(
      'Authorization' => 'Basic ' base64_encode'user:'$api_key )
      ),
      'body' => json_encode(array(
           
      'email_address' => $email,
      'status'        => $status,
      'interests' => array(
      'INTEREST ID' => true// add interest
      'INTEREST ID' => false// remove interest
      'INTEREST ID' => false
           
      )
      ))
      ); 
      from https://rudrastyh.com/mailchimp-api/...st-groups.html

      Comment


      • #4
        I'm looking for that, thanks a lot!

        Comment

        Working...
        X