You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are multiple use cases which results in re-subscribing or unsubscribing customer when his account is saved by admin in the backend:
Use case 1
Double opt-in is disabled on Magento side, customer is subscribed on Magento and MailChimp side
when I save customer in backend, he stays subscribed, does't get any emails
This one works as expected.
Use case 2
Double opt-in is enabled on Magento side, customer is subscribed on Magento and MailChimp side
when I save customer in backend, he becomes unsubscribed in Magento, disappears from MailChimp and gets email to confirm subscription
This is not expected.
Use case 3
Double opt-in is enabled on Magento side, customer is subscribed on MailChimp side, but due to disabled two way sync he is not marked as confirmed in Magento
when I save customer in backend, het stays as unsubscribed in Magento, gets unsubscribed from MailChimp and gets email informing that we was unsubscribed
This is not expected.
Use case 4
Double opt-in is enabled on Magento side, customer is subscribed on MailChimp side, but his subscription status was not synchronized by two way sync from MailChimp to Magento yet
when I save customer in backend, het stays as unsubscribed in Magento, gets unsubscribed from MailChimp and gets email informing that we was unsubscribed
This is not expected.
Actual and Expected result
Expected result:
Customer subscription status on Magento side and MailChimp side is not changed when I save customer in backend without touching subscription checkbox field
Actual result:
Customer is unsubscribed or re-subscribed on his account save.
Additional information
Issue likely starts with the following code in \Magento\Customer\Controller\Adminhtml\Index\Save::execute file:
if ($isSubscribed !== null) {
if ($isSubscribed !== '0') {
$this->_subscriberFactory->create()->subscribeCustomerById($customerId);
} else {
$this->_subscriberFactory->create()->unsubscribeCustomerById($customerId);
}
}
He gets unsubscribed if his subscription status was not synchronized from MailChimp to Magento yet, or he is re-subscribed in \Ebizmarts\MailChimp\Model\Plugin\Subscriber::beforeSubscribeCustomerById when double opt-in is enabled.
The text was updated successfully, but these errors were encountered:
Use case 2
this is the expected behavior.
If a customer has not responded to the opt-in confirmation email, they will not have much visible information in the Mailchimp App. This is because they are set to pending at the /members endpoint. We confirm this behavior with Mailchimp
Use case 3 Use case 4
If you don't enable the two way sync, this is the expected result
Preconditions
Steps to reproduce
There are multiple use cases which results in re-subscribing or unsubscribing customer when his account is saved by admin in the backend:
Use case 1
Double opt-in is disabled on Magento side, customer is subscribed on Magento and MailChimp side
This one works as expected.
Use case 2
Double opt-in is enabled on Magento side, customer is subscribed on Magento and MailChimp side
This is not expected.
Use case 3
Double opt-in is enabled on Magento side, customer is subscribed on MailChimp side, but due to disabled two way sync he is not marked as confirmed in Magento
This is not expected.
Use case 4
Double opt-in is enabled on Magento side, customer is subscribed on MailChimp side, but his subscription status was not synchronized by two way sync from MailChimp to Magento yet
This is not expected.
Actual and Expected result
Expected result:
Customer subscription status on Magento side and MailChimp side is not changed when I save customer in backend without touching subscription checkbox field
Actual result:
Customer is unsubscribed or re-subscribed on his account save.
Additional information
Issue likely starts with the following code in \Magento\Customer\Controller\Adminhtml\Index\Save::execute file:
He gets unsubscribed if his subscription status was not synchronized from MailChimp to Magento yet, or he is re-subscribed in \Ebizmarts\MailChimp\Model\Plugin\Subscriber::beforeSubscribeCustomerById when double opt-in is enabled.
The text was updated successfully, but these errors were encountered: