Skip to content

Double Opt-In missing for Mailchimp #33

@codedge

Description

@codedge

Double Opt-In (DOI) is currently not available with this module, as the status is hardcoded to subscribed.

As DOI is necessary for countries like Austria, Germany, Greece, Switzerland, Luxembourg and Norway this should be configurable for MC. To be more flexible, I would suggest setting the status to either one of these supported types (see MC API docs):

  • pending This is the necessary status for DOI
  • subscribed
  • unsubscribed
  • cleaned
  • transactional

To leave this decision to the user, a new config option, f. ex. memberStatus could be introduced with a default value being subscribed.

I tested this: when setting pending as the status, the email is not directly added to the audience but instead you receive a DOI email, if you really want to subscribe.

I would create a PR, if that helps :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions