Mailchimp just says whether the result was a success or not...they rely on the application to get a return value and then make a determination as to the problem. It would be great if they allowed you to troubleshoot from the website.
However, I think I figured out what is going on. I spoke with customer support at Mailchimp a couple of days ago and they told me that any failed API calls are the result of problems with the request (bad formatting, improper call, etc.) If someone is already subscribed, it won't fail. After playing around with this, I think that is incorrect...I believe it will actually fail if there is a problem.
In the meantime, I've added the following code to the export_feed method to have a note added to the entries that are involved with Mailchimp in order to get an idea of what is happening with the various entries (borrowed from the paypal plugin):
if($current_user && $user_data = get_userdata($current_user->ID)){
$user_id = $current_user->ID;
$user_name = $user_data->display_name;
}
RGFormsModel::add_note($entry["id"], $user_id, $user_name, sprintf(__("Status for subscription: %s", "gravityforms"), $retval));
Will let you know if this truly is a problem
Posted 13 years ago on Monday August 29, 2011 |
Permalink