mc-magento2 icon indicating copy to clipboard operation
mc-magento2 copied to clipboard

Subscribing for a second time does not work #2

Open LucasMDL opened this issue 5 years ago • 2 comments

Same issue as #1078. The provided fix doesn't solve the problem. The added function always has the unsubscribed status.

Using Mailchimp mc-magento2 version 102.3.40 and Magento 2.4.0.

I am getting the following issue:

When a customer has subscribed and unsubscribed once before, the 'subscribe' webhook is not fired. Just the 'profile' webhook'. After this, Mailchimp states that the customer is only eligible for transactional emails.

Steps to reproduce:

Create new customer Subscribe to newsletter from account page. Unsubscribe via Mailchimp Subscribe to newsletter from account page again. I expect the customer to be registered in Mailchimp, but Mailchimp states that the customer is only eligible for transactional emails.

LucasMDL avatar Nov 25 '20 15:11 LucasMDL

We are actually having 502 errors due to https://github.com/mailchimp/mc-magento2/pull/1080/files, we have disabled newsletter_subscriber_save_before event.

jonathanribas avatar Mar 02 '21 16:03 jonathanribas

I am digging in this but I think it is related with the way the unsubscription is handled. If the customer is deleted then it is not possible to re-add he/she with the API. See the docu or this answer.

lamasfoker avatar May 04 '21 16:05 lamasfoker