Failed to send to mailchimp
-
Hi,
I am turning around for hours looking for the misplaced peice that doesn’t allow this form’s submissions to be sent to Mailchimp. Is there a way to find out specifically where the error is?
Thanks
Rod
The page I need help with: [log in to see the link]
-
Hi @nomadarod,
I hope you are doing well today!
You can get additional information in your debug.log file by adding the following defines to wp-config.php (be sure that WP_DEBUG is set to true):
define('FORMINATOR_DEBUG', true); define('FORMINATOR_ADDON_DEBUG', true);
Ref: https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#integrations-not-working
Kind regards,
ZaferHi Zafer,
Tanks! That helped me find the issue: “”message”:”Value must be one of:”
My issue now is that this field corresponds to the different topics of interest that the user will choose so that he can be subscribed to the different newsletters. But both the dropdown and the radio button fields are of single choice.
How can correspond the multiple choice of the “select” forminator field to a merge field on the mailchimp side?
Hi again,
I managed to have the submissions to be sent to mailchimp. But I realise that the submission subscribes to all the groups that I selected when setting up the mailchimp integration on the form. If I dont select any, the subscriber won’t be added to any group even if he selects them when filling the form.
Can you help me find out why?
Hi @nomadarod,
Could you please share the screenshot of how you have configured Mailchimp groups at the Forminator end so that we could check things further?
We look forward to hearing back from you and helping you further.
Kind Regards,
Nebu JohnHi @wpmudevsupport14 ,
Does the screenchot corresponds to what you asked? I wasn’t sure if there were similar mailchimp integration configurations to be done when turning on the mailchimp integration in general so I’ve redone it and there wasn’t any reference to mailchimp groups.
Does that mean that we can decide to which group the user is added to nut we can not give him/her the decision through a checkboxes field?
Best regards,
Rod
Hi @nomadarod
The setup on the screenshot is the one we wanted to see so than you for sharing it.
The issue here is mostly due to some confusion that the option may cause – because of how MailChimp itself “names” the group categories. It’s not Forminator but Mailchimp which adds the “(Checkboxes)” to the category name and that suggests this may be giving user a choice.
It is not, unfortunately, and with this particular setup it is only you who decides about the interests – not the submitting user. Submitting user doesn’t have any choice in this case.
—
But there is a way to give them a choice, it just requires a bit different configuration:
1. first, you need to “decide” how many combinations/choices they have; based on your example screenshot I’d say that’d be six choices
2. then you need to go to “Forminator -> Integrations” page and actually connect Mailchimp (from under “Available apps”) six times in total, using the same account/API key
As a result, you would see the Mailchimp integration under “connected apps” six times too, all connected to the same MailChimp account
3. now edit your form and in its integration settings you would also see Mailchimp multiple times – one instance under “Active apps” and five other under “Connected Apps”.
4. now comes the most important part
a) edit that one instance under “Acitve apps” and check only one “Interests” checkbox in it
b) add all remaining five MailChimps from “Connected Apps” to “Active apps”, setting each one the same but in each one selecting only a single “Interests” checkbox – different one in eachc) make sure that you have “select” or other “choice” type field on the form
d) and now for each of those added Mailchimp integrations under “Active apps” use “Conditions” button to set condition – to use this instance of Mailchimp if the select field has certain value.
Update the form and that’s it.
This way when user submits the form and selects their interest from the field on the form, the “integrations” will be processed based on the conditions that you set and if you set them correctly, then the relevant Mailchimp integration(s) will be applied and add user to correct interests.
Best regards,
AdamHi Adam,
Thank you for sharing a solution and for the detailed explanation.
Have a great day!
Rod
Hi,
I have a hidden field to add the date but I get this error sending to mailchimp:
“[“[ADDON]”,”Forminator_Addon_Mailchimp_Wp_Api::request”,{“type”:”https:\/\/mailchimp.com\/developer\/marketing\/docs\/errors\/”,”title”:”Invalid Resource”,”status”:400,”detail”:”Your merge fields were invalid.”,”instance”:”XXXXX”:[{“field”:”MMERGE12″,”message”:”Please enter the date”}]}]”Isn’t it supposed to get the date automatically, as it is a hidden field?
I see that just above in the log there is:
“{“FNAME”:”sjd”,”LNAME”:”udsud”,”MMERGE10″:”7″,”MMERGE11″:”Ch\u00e8que”,”MMERGE12″:”14\/08\/2023″,”MMERGE3″”
Thanks
Rod
-
This reply was modified 1 year, 7 months ago by
rod.
I’ll create a new topic for this
-
This reply was modified 1 year, 7 months ago by
- The topic ‘Failed to send to mailchimp’ is closed to new replies.