• I’m attempting to modify the PowerPack subscribe module to include both firstname and lastname fields, for subscription to MailChimp. I’ve gone through all the files in /pp-subscribe-form and split the “name” field into “firstname” and “lastname”.

    It displays properly on the page, but when I attempt to submit I get an error “There was an error subscribing to MailChimp. 400: Your merge fields were invalid.”

    Any pointers as to what I need to do to correct this?

    I’m using the paid version of PowerPack, installed by the original developer of the site years ago. I do not have access to his license or login. If there’s somewhere else I should seek more info, please point me in the right direction.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Achal Jain

    (@ibachal)

    Hi @billc108

    The PowerPack Subscribe Form leverages Beaver Builder’s core Mailchimp API for its functionality. You may need to review how the API handles field mappings, particularly the firstname and lastname fields, and ensure they align with Mailchimp’s required merge fields.

    Unfortunately, since the module’s code has been customized, this falls outside the scope of our support. We recommend consulting a developer familiar with Mailchimp integrations for further assistance.

    Thank you for your understanding!

    Thread Starter billc108

    (@billc108)

    Hmmm. Looks like the code in bb-plugin/modules/subscribe-form is quite similar if not exactly the same as that in the PowerPack subscribe module. Would that need to be modified also? Or is there something else in the BB or PowerPack code I should be looking at? Where does BB interface with the MailChimp API?

    In my experience with MailChimp, they don’t care what order the of the fields is, as long as they’re defined.

    Do you think that merge error is coming from MailChimp? I had assumed it was erroring before it even got to them.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Modify Subscribe Module to include firstname lastname’ is closed to new replies.