Hi,
I found a bug with the Mailchimp plugin, where members renewing by Recurring PayPal subscriptions are being unsubscribed from the Mailchimp list.
I think it is due to the new subscription being created before the onMembershipExpire event is triggered.
I had a look at the Acymailing plugin and found that the code to avoid this happening exist in that plugin:
Code:
// He renewed his subscription before, so don't remove him from the lists
if (in_array($row->plan_id, $activePlans))
{
return;
}
This check needs adding to the Mailchimp Plugin (I have done it myself for now), below the line:
Code:
$activePlans = OSMembershipHelperSubscription::getActiveMembershipPlans($row->user_id, [$row->id]);
Thank you as always for the great extensions!
Jen