DoSomething / voting-app

☑ Voting app for DoSomething.org campaigns.
MIT License
6 stars 4 forks source link

Brazil vote missing mailchimp_list_id #465

Closed deezone closed 9 years ago

deezone commented 9 years ago

When a user votes from Brazil the mailchimp_list_id value is not included in the request. An example payload generated from a Brazilian based vote:

Array
(
    [first_name] => Ariel
    [birthdate_timestamp] => 574473600
    [user_country] => BR
    [candidate_id] => 248
    [candidate_name] => Joe Sugg
    [merge_vars] => Array
        (
            [FNAME] => Ariel
            [CANDIDATE_NAME] => Joe Sugg
            [CANDIDATE_LINK] => http://www.catsgonegood.com/candidates/joe-sugg
            [GENDER] => M
        )
    [user_language] => en
    [mobile] => 44555556666
    [mobile_tags] => Array
        (
            [0] => votingapp
            [1] => 248
            [2] => GENDER_M
        )
    [mobile_opt_in_path_id] => 66fd18c5a9
    [email] => ascottdicker+BrazilListTest4@dosomething.org
    [subscribed] => 1
    [email_template] => mb-cgg2015-vote-BR
    [email_tags] => Array
        (
            [0] => votingapp
            [1] => 248
            [2] => GENDER_M
        )
    [application_id] => CGG
    [activity] => vote
    [activity_timestamp] => 1448311408
)