statamic-rad-pack / mailchimp

Mailchimp integration for Statamic
https://statamic.com/addons/rad-pack/mailchimp
MIT License
19 stars 13 forks source link

Form Fields not being ported into MailChimp #19

Closed KontrivedMedia closed 6 years ago

KontrivedMedia commented 6 years ago

Form Submission

first_name: Harvey last_name: Spector job_title: Developer company: Kontrived email: email@gmail.com phone: "07787749980" address_line1: Some Street address_line2: Address Line 2 town: Some Town city: Some City postcode: Some Postcode country: GB message: Test1A hear_marketing: 'yes' hear_promotions: 'yes' hear_news: 'yes' heard: event other: Design Event


Formset

title: Contact Page honeypot: burgo-ref fields: first_name: display: First Name validate: required last_name: display: Last Name validate: required job_title: display: Job Title company: display: Company email: display: Email validate: required|email phone: display: Phone message: display: Message address_line1: display: Address Line 1 validate: required address_line2: display: Address Line 2 town: display: Town city: display: City validate: required postcode: display: Postcode validate: required country: display: Country validate: required hear_marketing: display: Marketing and Events hear_promotions: display: Promotions hear_news: display: News and Updates heard: display: How did you hear about us? other: display: Please Specify columns:

These are checkboxes that is a group in MailChimp hear_marketing: 'yes' hear_promotions: 'yes' hear_news: 'yes'

This is a dropdown menu heard: event

screenshot 2018-07-17 20 32 14 screenshot 2018-07-17 20 32 39

I left out the dropdown menu and the checkboxes in Statamic because they have never been imported.

KontrivedMedia commented 6 years ago

This is the error I get from the statamic log: production.ERROR: 400: The resource submitted could not be validated. For field-specific details, see the ‘errors’ array.

edalzell commented 6 years ago

if you remove some fields from the mapping, does it work?

KontrivedMedia commented 6 years ago

I removed all the fields and created a new one and it still wouldn't work.

edalzell commented 6 years ago

let's see the addon settings and the Mailchimp meta fields please

edalzell commented 6 years ago

closing due to inactivity