Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double Opt-In missing for Mailchimp #33

Open
codedge opened this issue Apr 23, 2023 · 0 comments · May be fixed by #34
Open

Double Opt-In missing for Mailchimp #33

codedge opened this issue Apr 23, 2023 · 0 comments · May be fixed by #34

Comments

@codedge
Copy link

codedge commented Apr 23, 2023

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 :)

@codedge codedge linked a pull request Apr 23, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant