WordPress.org

Ready to get started?Download WordPress

Forums

Mailchimp integration (2 posts)

  1. pawciak
    Member
    Posted 1 year ago #

    Hey Guys,

    I followed up this tutorial:
    http://www.bigbossmas.com/wordpress/integrating-contact-form-7-to-mailchimp-the-better-way/

    but I had to modify a bit the code so now it the part connected with form looks like that:

    $mergeVars = array(
    
    'FNAME'=>$formdata['your-name'],
    
    'LNAME'=> $formdata['your-surname'],
    
    'BDAY'=> $formdata['your-birthdate'],
    
    'ADRES'=> $formdata['your-address'],
    
    'EMAIL'=> $formdata['your-email'],
    
    'PHONE'=> $formdata['your-phone'],
    
    'PPHONE'=> $formdata['your-parents-phone'],
    
    'SCHL'=> $formdata['your-school'],
    
    'CATG'=> $formdata['your-category']
    
    );

    the problem is that form (contact form 7) is not communicating with mailchimp (when I check the API calls on mailchimp account there is always status FAILED). Do you have any idea why? Maybe somebody could help mi with that? I could provide on private message login data for admin because I really don't get why the problem still appear :|

  2. rcvaughn
    Member
    Posted 1 year ago #

    Bump.

    I have a similar problem. Not using Mailchimp, but another similar. The only way I can get it to work, is by putting the code directly into the page (as opposed to using Contact Form 7)
    Problem is there is no form validation this way (with my template)

    Contact form 7 doesn't seem to want to read this pretty important line of code
    <form action="http://cl.exct.net/subscribe.aspx?lid=123" method="post" name="subscribeForm"><input type="hidden" name="SubAction" value="sub_add_update" />

Topic Closed

This topic has been closed to new replies.

About this Topic