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

Include pledger's declared state in MailChimp integration #18

Open
furf opened this issue Sep 16, 2015 · 1 comment
Open

Include pledger's declared state in MailChimp integration #18

furf opened this issue Sep 16, 2015 · 1 comment

Comments

@furf
Copy link
Contributor

furf commented Sep 16, 2015

When a user subscribes to MailChimp, include their declared state code (i.e. CA, WA, DC).

The merge field key is |STATE|.

@furf
Copy link
Contributor Author

furf commented Sep 18, 2015

Notes:

It's possible that all that has to be done here is to send the state field in with the right MERGE## as the field name

This: https://github.com/Lessig2016/pledgeservice/blob/master/backend/handlers.py#L534

But it only works in /r/subscribe

Change needs to be made here: https://github.com/Lessig2016/pledgeservice/blob/master/backend/handlers.py#L216

And then the parameter added and passed through here: https://github.com/Lessig2016/pledgeservice/blob/master/backend/handlers.py#L445

Mailchimp has 2 keys for every paramenter a default key which is MERGE## and then a custom key which, in this case, is "STATE"

there are two lists in there: one main one and one test one

the custom (MERGE) fields should be the same in both lists, but check that

pledge-test pushes into the test list

live system into the live list

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

No branches or pull requests

1 participant