View Categories

MailPoet and PublishPress Cart

MailPoet is a free WordPress plugin for newsletters, email marketing and automation. The MailPoet integration in PublishPress Cart adds customers to a MailPoet list when they buy, and can remove them again when an order is refunded or a subscription ends.

This integration is available in PublishPress Cart Pro.


Before you start #

You need:

  • PublishPress Cart Pro installed and active.
  • The MailPoet plugin installed and active.
  • At least one MailPoet list. MailPoet creates a Newsletter mailing list when you install it. Check your lists under MailPoet → Lists.
  • A product in Cart. Create one under Cart → Products.

Connect a product to a MailPoet list #

  1. Go to Cart → Products and open the product.
  2. Open the Integrations tab.
  3. Click Add integration.

In Service, choose MailPoet. MailPoet is in the menu with the other services:

Service menu in the Integrations tab with MailPoet in the list

In Trigger, pick the event that runs the integration. The default is Product purchased. These are the options:

  • Product purchased
  • Product refunded
  • COD order created
  • Subscription active
  • Installment plan completed
  • Subscription canceled
  • Subscription paused
  • Subscription renewal charged
Trigger menu in a MailPoet integration showing the available events

Then finish the integration:

  1. Optional: in Restrict by payment plan / purchase type, limit the integration to one payment plan. Leave it empty to run it for every plan.
  2. In Action, choose Add contact or Remove contact.
  3. In MailPoet list, choose the list.
  4. Click Publish or Update to save the product.

This is a finished integration, with the trigger, action and list chosen:

MailPoet integration settings in a PublishPress Cart product

If your lists are missing from the MailPoet list menu, click Refresh mailing lists below the integration.


Choose the integration options #

These options are under the MailPoet list field:

  • Send welcome email: MailPoet sends its welcome email when the contact is added.
  • Disable admin notification: stops MailPoet notifying you about the new subscriber.
  • Require consent: only adds customers who agreed to join the list. Turn on the opt-in checkbox first, as described below.

Here are the three toggles under the list, with the welcome email and admin notification options turned on:

MailPoet list field and the welcome email, admin notification and consent toggles

Ask customers for consent #

To add only customers who agree:

  1. In the product’s Integrations tab, find the Opt-in checkbox panel.
  2. Turn on Show opt-in checkbox. Cart adds the checkbox to the checkout form.
  3. In your MailPoet integration, turn on Require consent.
  4. Click Update.

Check that it works #

  1. Open the product on the front of your site.
  2. Enter a name and email address, and click Order Now.

After the order, the confirmation page shows the order details:

Order confirmation page after a test purchase

Now go to MailPoet → Subscribers in WordPress. The customer appears on the list you chose:

MailPoet Subscribers screen showing the new customer on the Newsletter mailing list

To test without a payment, use a free product.


Check MailPoet’s sign-up settings #

MailPoet has its own sign-up confirmation setting. If it is on, new subscribers get a confirmation email before they join your list.

  1. Go to MailPoet → Settings.
  2. Open the Sign-up Confirmation tab.
  3. Check Enable sign-up confirmation.
  4. Click Save settings.

The tab looks like this, with sign-up confirmation set to Yes:

Sign-up Confirmation tab in MailPoet settings