Question

Note: Would request you to please don't close this as a out of topic.

We have small customisation that save the mail chimp group data + flag to the Magento 2 table "mailchimp_interest_group" when user subscribed & un-subscribed from customer dasahboard.

Scenario #1 (Working Scenario For Subscribers):

{"group":{"40d50147cd":["151db840c0","454ab0d3ec","acbeafd9ff","ed5a578a03"]},"is_subscribed":"1"}

Scenario #2:(Not Working Scenario For Un-Subscriber users):

{"group":{"40d50147cd":["151db840c0","454ab0d3ec","acbeafd9ff","ed5a578a03"]},"is_subscribed":"0"}

Here scenario 2 is not working. Not sure what exact flag key & value want to save in M2 Can any one have idea please give me some suggestions.

Tried with some other as mentioned below but no luck: #1

{"group":{"40d50147cd":["151db840c0","454ab0d3ec","acbeafd9ff","ed5a578a03"]}}

#2.

{"group":{"40d50147cd":["151db840c0","454ab0d3ec","acbeafd9ff","ed5a578a03"]},"is_unsubscribed":"1"}

Tried with other ways to save groupdata with un-subscription flag But No luck

{"group":{"cb7ffddf1b":["fc7a73310d","f900e05d5d"]}}

{"group":{"cb7ffddf1b":["fc7a73310d","f900e05d5d"]},"UNSUBSCRIBED"}

{"group":{"cb7ffddf1b":["fc7a73310d","f900e05d5d"]},"UNSUBSCRIBER"}

{"group":{"cb7ffddf1b":["fc7a73310d","f900e05d5d"]},"is_subscribed":"3"}

{"group":{"cb7ffddf1b":["fc7a73310d","f900e05d5d"]},"is_subscribed":"0"}

{"group":{"cb7ffddf1b":["fc7a73310d","f900e05d5d"]}},"is_subscribed":"2"}

{"group":{"cb7ffddf1b":["fc7a73310d","f900e05d5d"]},"is_unsubscribed ":"1"}

enter image description here Thanks

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top