Unsubscribing on Mailchimp through webhook doesnt update DB

Created on 10 September 2019, about 5 years ago
Updated 26 August 2024, 3 months ago

Continuation of patch #2903853 to write subscribed to DB.

When using the unsubscribed or cleaned addresses webhook, the subscribed status isnt updated in the DB.

For example, an email bounces from Mailchimp, its added to the cleaned Addresses list on Mailchimp. The webhook sends the info back to Drupal which 'unticks' the subscribed box on the user profile. When viewing their profile you can see its unticked, however the DB is not updated to reflect it is not subscribed (value from 1 to 0).

If the user account is re-saved it is updated, but with thousands of users and subscribers the site managers cannot be resaving all accounts to have accurate data from the database.

🐛 Bug report
Status

Needs review

Version

2.0

Component

API

Created by

🇦🇺Australia jtotheeannie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024