Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
PMP

Paid Memberships Pro – Mailchimp Add On

v2.3.7
by Paid Memberships Pro · 3.6 (17 reviews)

Add users and members to Mailchimp audiences based on their membership level and allow members to opt-in to specific audiences.

5K+ active installs Updated Sep 24, 2024 Tested to 6.6.2
Try Demo Download
Pre-installed Ready in ~10s No card

About Paid Memberships Pro – Mailchimp Add On

This plugin allows you to subscribe WordPress users and members to specific Mailchimp audiences based on their membership level. You can also set up opt-in audiences for users to join during checkout or by editing their profile. The plugin offers additional settings such as requiring double opt-in, unsubscribing users when they lose a membership level, and updating Mailchimp audiences when a user's profile is saved.

Changelog

2.3.7 – 2024-09-24

  • ENHANCEMENT: Updated UI for compatibility with PMPro v3.1. #145 (@andrewlimaza, @kimcoleman)
  • BUG FIX: Fixed over-escaping in settings. #144 (@dparker1005)
  • BUG FIX: Fixed issue with exporting CSV of members for Mailchimp Import. #139 (@dparker1005)
  • BUG FIX: Fixed warning when site admin enters an improperly formatted Mailchimp API Key. #146 (@kimcoleman)

2.3.6 – 2024-03-27

  • SECURITY: Now preparing SQL statements.
  • SECURITY: Improved escaping of strings.
  • ENHANCEMENT: Added translator comments for placeholders.

2.3.5 – 2024-03-08

  • SECURITY: Now adding a randomized suffix to the log file name to prevent unauthorized access. #138 (@dparker1005)
  • SECURITY: Now preventing access to the /log/ directory listing. #138 (@dparker1005)
  • ENHANCEMENT: Added a filter pmpromc_update_audience_members_data to allow modifying data sent to the /lists/{$audience} Mailchimp endpoint. #137 (@efc)

2.3.4 – 2023-11-15

  • SECURITY: Now obfuscating email domains in debug logs. #135 (@andrewlimaza)
  • ENHANCEMENT: Updating <h3> tags to <h2> tags for better accessibility. #133 (@kimwhite)
  • REFACTOR: No longer pulling the checkout level from the $_REQUEST variable. #132 (@dparker1005)

2.3.3 – 2023-03-01

  • ENHANCEMENT: Improved formatting of opt-in audience section on checkout page. (@mircobabini)
  • ENHANCEMENT: Added filter pmpromc_log_path to allow changing the path where API calls are logged. (@JarrydLong)
  • BUG FIX/ENHANCEMENT: Now using readfile() during CSV export if fpassthru() is not available. (@JarrydLong)
  • REFACTOR: Marking the set_user_interest() method as deprecated. (@dparker1005)

2.3.2 – 2021-03-02

  • ENHANCEMENT: Added setting to log API calls sent to Mailchimp in the pmpro-mailchimp/logs folder.
  • ENHANCEMENT: Added a pmpromc_user_data filter to filter user data taht is sent to Mailchimp.
  • ENHANCEMENT: Audience checkboxes are now shown as scrollable list on settings page if there are more than 5.
  • BUG FIX/ENHANCEMENT: Added CSS class for checkbox labels.
  • BUG FIX/ENHANCEMENT: Now passing a valid user object when generating CSV export file headers.
  • BUG FIX: Fixed undefined variable in pmpromc_user_register() (Thanks, x140l31 on GitHub).
  • BUG FIX: Fixed required parameter being included after optional parameters in add_merge_field().
  • BUG FIX: Fixed URL to PMPro support page (Thanks, majerus1223 on GitHub).

2.3.1 – 2020-04-28

  • ENHANCEMENT: Added support for Paid Memberships Pro v2.3+ front-end profile edit page.
  • ENHANCEMENT: Now using checkboxes to select audiences instead of fields

2.3 – 2020-03-25

  • FEATURE: Subscriptions/unsubscriptions in Mailchimp now carry over to PMPro for opt-in audiences
  • ENHANCEMENT: Added setting to update contact in Mailchimp whenever profile is saved
  • ENHANCEMENT: Included audience names in debug logs and improved error reporting
  • BUG FIX: Fixed issue where contacts may be created in an unsubscribed status in opt-in audiences they had not subscribed to
  • BUG FIX: Fixed issue where contacts would not be removed from non-member audiences when they are given a level
  • BUG FIX: Fixed strings using the incorrect text domain
  • BUG FIX: Fixed ampersands in names being encoded when sent to Mailchimp
  • BUG FIX: Resolved PHP warning in API function in_merge_fields()
  • BUG FIX/ENHANCEMENT: Contacts in Mailchimp are now updated when a user’s email is changed instead of being replaced
  • REFACTOR: Organized code into different files

2.2.1 – 2019-12-31

  • BUG FIX: Fixed merge fields not being sent during user profile updates
  • BUG FIX: Fixed logging for Mailchimp API calls
  • BUG FIX: Fixed Mailchimp updates not being sent during wp_redirect filter

2.2 – 2019-12-19

  • BUG FIX: Fixed email address updates via profile.
  • BUG FIX: Fixed “Invalid API Key” error that would sometimes occur with newer API keys.
  • ENHANCEMENT: Using “Audience” instead of “List” in strings throughout the plugin for consistency with Mailchimp’s name changes.
  • ENHANCEMENT: Using “Mailchimp” instead of “MailChimp” in strings throughout the plugin for consistency with Mailchimp’s name changes.
  • ENHANCEMENT: Removed default columns besides email from Mailchimp CSV export. Now using the pmpro_mailchimp_listsubscribe_fields filter instead.
  • ENHANCEMENT: Users are now unsubscribed from all opt-in audiences when they cancel membership.
  • BUG FIX/ENHANCEMENT: Mailchimp subscriber updates are processed using the /lists/ API endpoint to prevent rate limiting by Mailchimp. This fixes issues that would sometime occur when many members were expired on the same day.
  • BUG FIX/ENHANCEMENT: Users who cancel are now unsubscibed from audiences instead of being deleted from Mailchimp.
  • BUG FIX/ENHANCEMENT: Now using the Mailchimp member “status” property when unsubscribing members instead of deleting them.

2.1.2

  • BUG FIX: Checking for 204 status when unsubscribing. We were checking for 200 before and throwing an error incorrectly.
  • BUG FIX: Fixed bug where users weren’t unsubscribed from MailChimp when they expired. A further refactoring is needed to avoid hitting the MailChimp API limit if many users are processed at once.
  • BUG FIX/ENHANCEMENT: The “All Users” label was changed to “Non-member Users” to match how the setting is actually used.

2.1.1

  • BUG FIX: Fixed issues with error handling and the display of error messages. Specifically, entering an incorrect API key will no longer crash the settings page. (Thanks, Hugh Brock)

2.1

  • BUG: Fixed a variety of bugs related to the MailChimp API, including a bug introduced in v2.0.3 that sometimes kept the plugin from subscribing users to lists.
  • BUG/ENHANCEMENT: Doing a better job of limiting the number of API requests made to avoid API limits.
  • ENHANCEMENT: Supports the pmpro-multiple-memberships-per-user Add On.
  • ENHANCEMENT: Added localization support. (Now should be able to create language files via GlotPress)

2.0.3

  • BUG: Fixed issue with updating email addresses in MailChimp when email addresses are updated in WordPress.
  • ENHANCEMENT: Added a filter pmpromc_profile_update that you can set to __return_true to tell the addon to synchronize user data on every profile update. By default, PMPro MailChimp will only synchronize data if the email address has changed. Filter passes $update_user, $user_id, and $old_user_data and is documented in the code.

2.0.2

  • BUG: Fixed issue where the wrong subscriber id was being used for subsequent API calls when calls were made for more than one subscriber (e.g. when importing, bulk updating, or members are expiring).
  • BUG: Fixed other warnings, typos, and minor bugs.
  • ENHANCEMENT: Added filter (pmpro_addon_mc_api_timeout) to modify API connection timeout (default is 10 seconds which should be plenty!)

2.0.1

  • BUG: Fixed bug where “additional opt-in lists” were causing fatal errors at checkout if set.

2.0.0

  • FIX/ENHANCEMENT: Removed the v2 MailChimp API class and now using our own API class based on MailChimps v3 API.
  • FEATURE: Now adding PMPLEVEL and PMPLEVELID merge fields for users added to lists. These can be used to create segments and groups in MailChimp.
  • FEATURE: Added a link on the settings page to export a CSV file formatted specifically for importing into MailChimp. This can be used to import existing members into MailChimp as new subscribers or just to update the merge fields for existing subscribers.

1.2

  • Updated the MailChimp API used to have a $verify_ssl property that controls the CURLOPT_SSL_VERIFYPEER option of the CURL connection. This is set to false by default, avoiding some issues people have had connecting to the MailChimp API.

1.1

  • Added option for passing membership level to MailChimp as a custom field.

1.0.7

  • ENHANCEMENT: Mailing Lists section of edit profile page doesn’t show up if there are no lists set for “opt-in lists”.
  • BUG: Not showing the “additional lists” options on the review page when using PayPal Express/Standard/etc. (Thanks, Christopher Souser)
  • BUG: Fixed some warnings.

1.0.6

  • BUG: Avoiding warnings when unsubscribing. (Thanks, Adam Shaw)

1.0.5

  • ENHANCEMENT: Won’t try to subscribe/unsubscribe if the user doesn’t have an email address. Doesn’t come up often in WP, but can.
  • BUG: Fixed bug where if users unchecked all optional lists options, the plugin would not remove them from the lists. (Thanks, Darlene)

1.0.4

  • BUG: Avoiding warnings in some cases where levels have been deleted.

1.0.3

  • BUG: Removed add_settings_error call to avoid fatal error on front end. Wasn’t using it.

1.0.2

  • BUG: Better error handling when invalid API keys are entered.

1.0.1

  • BUG: Fixed some warnings and fatal errors if site is run with an empty or invalid API key.

1.0

  • Admitting that we’re officially released with a 1.0 version. ?
  • Now using Mailchimp v2.0 API.

.3.6.2

  • Updated code to make sure that when checking out, sub adds run on pmpro_after_checkout instead of pmpro_after_change_membership_level.

.3.6.1

  • Fixed some warnings that would show up if the plugin was not connected to the API yet.

.3.6

  • Now 3 options for the “Unsubscribe on Level Change” option. No, Yes (Only old level lists.), and Yes (All other lists.).
  • Fixed possibly issues introduced in the .3.5 version.

.3.5

  • Added the “Opt-in Lists” that will show up on the PMPro checkout page as checkboxes allowing the member to opt into one or more lists.
  • Instead of unsubscribing users from all lists when changing membership levels (before adding them back to lists for the new membership level), we only unsubscribe users from the lists that were selected for their old level. For example, if list #1 is given to a user for level 1, users changing away from level 1 will only be unsubscribed from list #1. They will remain on any other list they might have gotten outside of PMPro MailChimp.

.3.4

  • Fixing SQL warning when running PMPro Mailchimp without PMPro. (Thanks, kateM82)

.3.3

  • Added option to turn of unsubscribes entirely. If you manage multiple lists in MailChimp and have users subscribe outside of WordPress, you may want to choose No so contacts aren’t unsubscribed from other lists when they register on your site.

.3.2

  • Updated pmpro_mailchimp_listsubscribe_fields filter to pass the $list_user object along as well.

.3.1

  • Updating email addresses in MailChimp lists if a user’s email address is changed.

.3

  • Added pmpro_mailchimp_listsubscribe_fields filters to add fields passed the listSubscribe API call.
  • Changed some things to make sure that the user cache is clean and the listSubscribe call happens late enough so that first and last name are populated.

.2.2

  • First logged release with a readme.
  • Added a “Require Double Opt-in” setting that will determine if an additional opt in email is sent for confirmation before adding users to a list. Defaults to “No”.

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…

LiteSpeed Cache icon

LiteSpeed Cache

4.8 · 7M+ installs

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

WooCommerce icon

WooCommerce

4.5 · 7M+ installs

Everything you need to launch an online store in days and keep it growing for years. From your…