Hello everyone.
Has anyone successfully integrated chronoforms with MailChimp? I tried some custom PHP in a user registration form so that users are automatically added to a mailing list in MailChimp. However, when I added that code, it wrecked my registration actions, so I decided to put it on their profile edit page. That way once they login and edit their profile, they will be subscribed to the list. I scrapped the custom code for now and decided to try the curl[GH] action instead. I thought maybe it would save me some time. However, I haven't gotten it working yet.
I am running Joomla! 3.1.x with Chronoforoms v4.0.4. I have the URL setup as something like this: http://usX.api.mailchimp.com/1.3/? (where X is the number of the server my chimp account is hosted). Then I set up the parameters like this in the action:
method=listSubscribe
apikey=myAPIKey
id=myListID
email_address={email}
merge_vars[OPTINIP]={IP}
merge_vars[FNAME]={fname}
merge_vars[LNAME]={lname}
merge_vars[STATE]={state}
update_existing=true
If I take the resulting URL (shown in the debugger output) and past it into an empty tab, the subscription is successful. However, if I use the form how I want the user to use it, I get this error: Response: {"error":"Method is not exported by this server","code":-90} .
Here is the curl array as well:
cURL info: Array ( [url] => http://us3.api.mailchimp.com/1.3/ [content_type] => application/json [http_code] => 200 [header_size] => 249 [request_size] => 385 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.089195 [namelookup_time] => 0.032965 [connect_time] => 0.053499 [pretransfer_time] => 0.053596 [size_upload] => 250 [size_download] => 61 [speed_download] => 683 [speed_upload] => 2802 [download_content_length] => 61 [upload_content_length] => 250 [starttransfer_time] => 0.089105 [redirect_time] => 0 [certinfo] => Array ( ) [redirect_url] => )
Does anyone know how the curl[GH] action interacts with MailChimp? Maybe it is not correctly sending the info to them? Any ideas would be greatly appreciated. Thanks!
Erik
Has anyone successfully integrated chronoforms with MailChimp? I tried some custom PHP in a user registration form so that users are automatically added to a mailing list in MailChimp. However, when I added that code, it wrecked my registration actions, so I decided to put it on their profile edit page. That way once they login and edit their profile, they will be subscribed to the list. I scrapped the custom code for now and decided to try the curl[GH] action instead. I thought maybe it would save me some time. However, I haven't gotten it working yet.
I am running Joomla! 3.1.x with Chronoforoms v4.0.4. I have the URL setup as something like this: http://usX.api.mailchimp.com/1.3/? (where X is the number of the server my chimp account is hosted). Then I set up the parameters like this in the action:
method=listSubscribe
apikey=myAPIKey
id=myListID
email_address={email}
merge_vars[OPTINIP]={IP}
merge_vars[FNAME]={fname}
merge_vars[LNAME]={lname}
merge_vars[STATE]={state}
update_existing=true
If I take the resulting URL (shown in the debugger output) and past it into an empty tab, the subscription is successful. However, if I use the form how I want the user to use it, I get this error: Response: {"error":"Method is not exported by this server","code":-90} .
Here is the curl array as well:
cURL info: Array ( [url] => http://us3.api.mailchimp.com/1.3/ [content_type] => application/json [http_code] => 200 [header_size] => 249 [request_size] => 385 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.089195 [namelookup_time] => 0.032965 [connect_time] => 0.053499 [pretransfer_time] => 0.053596 [size_upload] => 250 [size_download] => 61 [speed_download] => 683 [speed_upload] => 2802 [download_content_length] => 61 [upload_content_length] => 250 [starttransfer_time] => 0.089105 [redirect_time] => 0 [certinfo] => Array ( ) [redirect_url] => )
Does anyone know how the curl[GH] action interacts with MailChimp? Maybe it is not correctly sending the info to them? Any ideas would be greatly appreciated. Thanks!
Erik