I'm new to using the MailChimp Webhooks feature, but it seems like
there might be something going wrong. I followed the Webhook
instructions carefully from the MailChimp API site and am basing my
code on the PHP sample at
http://www.mailchimp.com/api/downloads/webhooks.phps.
But the security key is not getting passed to my webhook when
MailChimp sends a request to it. I do have the Webhook URL entered
with ?key=stuff on the end in my MailChimp list settings. But in the
_REQUEST dump array in my log I get a value like:
[/webhooks/list_signup_php] =>
Obviously, that's the file path part of my webhook URL, which it seems
to be interpreting as part of the GET string, and the value is empty.
When I impersonate a MailChimp post, just using a form of my own that
posts to my webhook with the key in the GET string, everything works
successfully. My log shows:
[key] => stuff
as it should, and the subscribe function goes through instead of "No
security key specified, ignoring request".
I'm sure there are plenty of other people using webhooks just fine, so
am I missing something? I double-checked that I'm subscribing to the
same list where I've entered my webhook. I tried adding something
extraneous to the GET string, like &extra=1, but it doesn't get passed
through either. Help?