Skip to content

Mailchimp: Disconnecting account doesn't fully remove the token #28333

Open
@tmmbecker

Description

Impacted plugin

Jetpack

Steps to Reproduce

You'll need two WordPress administrator accounts, two WordPress.com accounts and two admin-level Mailchimp accounts. This is the easiest way to see the issue.

  1. Connect each WordPress admin account to a WordPress.com account.
  2. In WordPress.com for the first account, go to Tools → Marketing → Connections.
  3. Follow the prompts to connect Mailchimp to an MC administrator-level account.
  4. Add the block to the site and confirm that it works.
  5. Go back to Tools → Marketing → Connections and disconnect that account.
  6. In Mailchimp, downgrade this MC account to Viewer.
  7. Switch to the other Jetpack-connected admin account.
  8. in WordPress.com go to Tools → Marketing → Connections.
  9. Follow the prompts to connect Mailchimp to the second MC administrator-level account.
  10. On the front-end, open the console → Network tab.
  11. navigate to the post or page where you added the Mailchimp block and try to sign up. Note that you get this error:

Screen Shot 2023-01-11 at 9 34 33 AM

13. Check the failed call in the Network tab and this error:

Screen Shot 2023-01-11 at 9 34 33 AM

15. In the Mailchimp account, upgrade the first user to Admin. 16. Subscribe again and notice that it works.

A clear and concise description of what you expected to happen.

When disconnecting from Mailchimp in one WordPress.com account, I should be able to connect to another Mailchimp account without issue.

What actually happened

No response

Browser

No response

Other information

Newspack sites are heavy users of the Mailchimp block and they tend to experience a higher volume of staff turnover. This has now happened to at least three customers:

  1. Atavist Magazine switched to the MC4WP plugin.
  2. https://enlacelatinonc.org/ switched to the MC4WP plugin.
  3. https://washingtoncitypaper.com/ had to upgrade the MC account for their former admin in order for the Jetpack block to resume functioning. They are heavy users of the Mailchimp block so a switch is not an option.

Platform (Simple, Atomic, or both?)

Self-hosted

Reproducibility

Consistent

Severity

Most (> 50%)

Available workarounds?

None

Workaround details

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions