mattg0404
Forum Replies Created
-
Hi, I think I discovered the issue. I did a dump of the $data array in the subscribe function (class-api.php) as I can’t debug remotely. The data looks like this for the form above (I have xxx’d out any value that might compromise privacy). It is sending FNAME instead of the NAME field I specified. Is this a bug?:
Array
(
[id] => xxxxxxxxxxx
[email] => Array
(
[email] => xxxxxxxxxxxxxxxxx
)[merge_vars] => Array
(
[EMAIL] => xxxxxxxxxxxxxxxx
[FNAME] => MyName
[OPTIN_IP] => xxxxxxxxxxxxxxx
)[email_type] => html
[double_optin] => 1
[update_existing] => 0
[replace_interests] => 0
[send_welcome] => 0
)Hello,
I am having the same problem as earlier stated, but everything looks OK to me. My mail chimp API is working fine…I can get the email address from my contact form 7 form into MC on its own. However, if I try to add the NAME field to it, it fails with the following message in your log (NAME is mandatory in MC and in my form):
[2016-02-09 08:10:22] ERROR: Contact Form 7 > MailChimp API Error: NAME must be provided – Please enter a value
My Contact 7 form is as follows:
<p>
<label for=”name”>Full Name</label>
[text* mc4wp-NAME]
</p>
<p>
<label for=”email”>Email</label>
[email* mc4wp-EMAIL]
</p>
<p>
<label for=”message”>Message</label>
[textarea* message id:message]
</p>
[mc4wp_checkbox]
<p>
[submit “Send”]
</p>I’m running WP 4.4.2, MailChimp For WordPress 3.1.1, and Contact Form 7 plugin 4.3.1
Please help. Thanks.