> For the complete documentation index, see [llms.txt](https://docs.anedot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anedot.com/integrations/ecommerce-financial-membership/memberpress.md).

# MemberPress

Connect Anedot to MemberPress to send Donation and Lead Page contacts, manage your connection, and review field mapping, payload data, and troubleshooting.

The **MemberPress** integration sends Donation and Lead Page contacts to MemberPress, and lives in **Settings > Integrations**. This article covers how to get your credentials, create the connection, manage your connection, review what Anedot sends, find your data, and review field mapping, payload data, and troubleshooting.

## Before You Begin

You need **Integrations: Edit permissions** to add, edit, push or delete a connection. Integrations: Edit permissions also require **Action Pages: View permissions** and **Integrations: View permissions**. See [Permission Sets](https://docs.anedot.com/settings/access/permission-sets.md).

You also need a WordPress site with MemberPress, available over HTTPS, plus a **WordPress username** and a **WordPress application password**.

{% hint style="info" %}
Anedot connects with a WordPress username and application password. It doesn't ask for a MemberPress REST API key.
{% endhint %}

## Connect Anedot to MemberPress

### Step 1: Create a WordPress Application Password

Log in to wp-admin as the user who needs the credential, or as a WordPress admin editing that user.

1. Go to **Users > Profile**. To create a password for another user, go to **Users > All Users**, then click **Edit** for that user.
2. Find the **Application Passwords** section.
3. Enter a descriptive name for the password.
4. Generate the password.
5. Copy the password right away.

{% hint style="warning" %}
WordPress shows the application password only once. Copy it before you leave the page.
{% endhint %}

You now have the WordPress username and application password you'll enter in Anedot.

### Step 2: Create the Connection in Anedot

1. Go to **Settings > Integrations**.
2. Click **New integration**.
3. Choose **MemberPress**. The card is in the **Membership** category and is described as "Connect Action Pages to MemberPress."
4. Leave **All Action Pages** checked to include all current and future pages.
5. (Optional) To pick a page instead, uncheck **All Action Pages** and choose one page from the dropdown. The help text is "This provider does not support multi-page exclusions."
6. Leave **Team** set to **All teams**, or choose a team. The help text is "Optionally limit this connection to one team."

{% hint style="info" %}
The **Team** setting is not applied to MemberPress sends.
{% endhint %}

7. In **WordPress domain**, enter your WordPress site URL or domain. Anedot connects to the MemberPress REST API on that site.
8. Enter your **WordPress username**.
9. Enter your **WordPress application password**.
10. Click **Create integration**.

Anedot checks your credentials, then shows "Integration created." The connection appears in your list as **Integration** followed by the connection ID.

{% hint style="warning" %}
If you uncheck **All Action Pages**, select a page. Otherwise, Anedot shows "Select at least one Action Page, or choose All Action Pages."
{% endhint %}

If the credential check fails, Anedot shows "Invalid domain", "Invalid username or password", or "Unknown service error."

The create form doesn't include **Name** or **Enabled**, and there's no Test button. **Enabled** is on by default.

Creating the connection doesn't send a donation or lead. Anedot starts sending with the next qualifying Donation Page or Lead Page submission.

## Manage Your Connection

### Edit A Connection

1. Go to **Settings > Integrations**.
2. Click **Edit** on your connection. The **Edit integration** form opens.
3. Enter a **Name**. This field is required to save. A Name you save appears on the connection.
4. (Optional) Change the Action Pages or **Team**.
5. Leave the **Credentials/details JSON** box as it is. It shows only details, or "None" when empty. Credentials are never shown.
6. Click **Save integration**.

Anedot shows "Integration updated."

The **Provider** field is read-only and shows `member_press`. If the **Credentials/details JSON** box doesn't contain valid JSON, Anedot shows "Details must be valid JSON."

{% hint style="warning" %}
You can't change the WordPress domain, username, or application password after you create the connection. To use different credentials, delete the connection and connect again.
{% endhint %}

### Turn A Connection Off or On

The **Enabled** checkbox is on the **Edit integration** form and is on by default. When you uncheck **Enabled** and click **Save integration**, Anedot stops live sends and **Push unsent** for your MemberPress connection. This includes sends that were already queued or waiting to retry. Those sends are skipped and aren't delivered later. To start live sends to MemberPress again, check **Enabled** and click **Save integration**.

Anedot doesn't turn off a connection automatically.

### Push Unsent Donations

**Push unsent** sends Donation and Lead submissions in a date range that haven't already been sent successfully to MemberPress. This includes submissions that failed and submissions that were never tried. Submissions that were already sent successfully aren't sent again.

1. Go to **Settings > Integrations**.
2. Click **Push unsent** on your MemberPress connection.
3. Choose a date range of up to 31 days that starts within the last 12 months.
4. Start the push.

Anedot shows "Push started." Wait about five minutes, then check **Settings > Integration Requests** for the new rows.

**Push unsent** doesn't apply **Team**, and it sends nothing while **Enabled** is off. For more about pushing, see [Push Unsent](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#push-unsent) in Webhooks (API).

### Delete A Connection

1. Go to **Settings > Integrations**.
2. Click **Delete** on your MemberPress connection.
3. Confirm when you see the prompt "Delete this integration?"

Anedot shows "Integration deleted." and stops sending data to MemberPress. Records already in MemberPress don't change.

{% hint style="danger" %}
Deleting a connection can't be undone. To send data to MemberPress again, connect again.
{% endhint %}

## Data Relays

### What Anedot Sends

Anedot first looks up a MemberPress member by email address. What happens next depends on the page type and whether a member matches.

| Submission    | Matching Member | What Anedot Sends                              | Integration Requests Rows        |
| ------------- | --------------- | ---------------------------------------------- | -------------------------------- |
| Donation Page | No              | Creates the member, then sends one transaction | Two rows: member and transaction |
| Donation Page | Yes             | Sends one transaction                          | One transaction row              |
| Lead Page     | No              | Creates the member                             | One member row                   |
| Lead Page     | Yes             | Takes no further action                        | No row                           |

Anedot sends a Donation Page transaction after the payment is captured. The first gift in a recurring commitment is sent as a Donation Page submission.

Live sends follow your Action Page scope and stop while **Enabled** is off. **Team** doesn't limit MemberPress sends. If the member lookup runs into an error, Anedot retries it, and an Integration Requests row may not appear yet.

### Records Anedot Skips

Anedot doesn't send these to MemberPress:

* Event Pages, paid and free.
* Recurring charges after the first gift.
* Refunds, voids, chargebacks, and ACH returns.
* Abandoned Actions, later edits, and commitment changes. See [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md).
* Phone, middle name, and other custom or hidden fields, except a custom field whose label is exactly membership\_id.
* Submissions outside your Action Page scope.

When Anedot skips a send, it doesn't create an Integration Requests row.

### Add A Membership ID

To include a membership on the transaction, add a custom field whose label is exactly **membership\_id**. A hidden field works. You can set a default value on the field, or pass the value in the page link using the field's internal name. See [Hidden Fields](https://docs.anedot.com/action-pages/page-builder/hidden-fields.md).

If there's no membership\_id value, Anedot still sends the transaction. A submission with multiple funds is sent as one transaction for the submission total.

### Delivery And Retries

You can review every send in **Settings > Integration Requests**. Member and transaction sends appear as separate rows. See [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md).

* **Success:** MemberPress returned HTTP 2xx.
* **Failure:** MemberPress returned a non-2xx status. Anedot sends the failure email.
* **Error:** Anedot couldn't complete the request, for example because of a timeout. Anedot doesn't send the failure email, and the send can be retried automatically.

When a send fails, Anedot emails users who have the **Integration sync failed** notification turned on. This notification is off by default. The subject is "Anedot MemberPress Integration Failed" when the connection has no name. When a **Name** is set, the subject is "Anedot" followed by the connection Name and "Integration Failed". See [Notifications](https://docs.anedot.com/get-started/security/notifications.md).

Anedot doesn't turn off a connection automatically after failures.

## Find Your Data in MemberPress

1. Go to **Settings > Integration Requests**.
2. Find a **Success** row for the member or transaction.
3. Open MemberPress and review the member or transaction.

What happens after MemberPress accepts a member or transaction is controlled by MemberPress.

To learn more, see [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md).

## Field Mapping

### Member Fields

| MemberPress Field | Anedot Value              |
| ----------------- | ------------------------- |
| email             | The donor's email address |
| username          | The donor's email address |
| first\_name       | The donor's first name    |
| last\_name        | The donor's last name     |
| address1          | Address line 1            |
| address2          | Address line 2            |
| city              | City                      |
| state             | Region                    |
| zip               | Postal code               |
| country           | Country                   |

Each value is a string, or null when there's no address.

### Transaction Fields

| MemberPress Field | Anedot Value                                        |
| ----------------- | --------------------------------------------------- |
| member            | The MemberPress member ID                           |
| trans\_num        | The Anedot submission UUID                          |
| amount            | The gift amount as a dollar string, such as "25.00" |
| total             | The gift amount as a dollar string, such as "25.00" |
| membership        | The membership\_id value                            |
| gateway           | "manual"                                            |
| status            | "complete"                                          |
| created\_at       | Date and time in UTC, formatted YYYY-MM-DD HH:MM:SS |

The amount and total are the gift amount and don't include fees the donor chose to cover.

## Payload Data

This example shows stored Integration Requests request bodies for a $25.00 one-time card donation from Annie Dot (<annie.dot@example.com>). Values in angle brackets are placeholders.

### Member Create

```json
{
  "email": "annie.dot@example.com",
  "first_name": "Annie",
  "last_name": "Dot",
  "username": "annie.dot@example.com",
  "address1": "<line 1>",
  "address2": "<line 2 or null>",
  "city": "<city>",
  "state": "<region, such as LA>",
  "zip": "<postal code>",
  "country": "<country, such as US>"
}
```

### Transaction

```json
{
  "member": "<MemberPress member id>",
  "trans_num": "<Anedot submission UUID>",
  "amount": "25.00",
  "gateway": "manual",
  "total": "25.00",
  "membership": "<membership_id value>",
  "status": "complete",
  "created_at": "<YYYY-MM-DD HH:MM:SS UTC>"
}
```

Anedot saves the response from MemberPress on the Integration Requests row. This article doesn't include a sample MemberPress response.

## Troubleshooting

### A Contact or Transaction Isn't in MemberPress

* Check **Settings > Integration Requests** for a member or transaction row.
* Review your Action Page scope.
* Confirm **Enabled** is checked on the connection.
* Event Pages, later recurring charges, and refunds aren't sent. If a Lead already matches a member, Anedot doesn't create a row.

### You Need to Use Different Credentials

You can't change the domain, username, or application password on an existing connection.

1. Go to **Settings > Integrations**.
2. Delete your MemberPress connection.
3. Connect again with the new credentials.
4. Use **Push unsent** to send submissions that weren't sent successfully.

Your new connection uses the new credentials.

### Stopping Sends to MemberPress

To pause sending data to MemberPress, uncheck **Enabled** on the connection and click **Save integration**. To stop sending permanently, delete the connection.

### Integration Requests Shows Failure or Error

Review the row in **Settings > Integration Requests**. **Failure** rows come from a non-2xx response, and you can use **Push unsent** to send those submissions again. **Error** rows can be retried automatically.

If the issue continues, contact our Support team at <help@anedot.com>.

## Related Articles

* [Integrations](https://docs.anedot.com/integrations.md)
* [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md)
* [Webhooks (API)](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md)
* [Permission Sets](https://docs.anedot.com/settings/access/permission-sets.md)
* [Teams](https://docs.anedot.com/settings/access/teams.md)
* [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md)
* [Notifications](https://docs.anedot.com/get-started/security/notifications.md)
* [Hidden Fields](https://docs.anedot.com/action-pages/page-builder/hidden-fields.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.anedot.com/integrations/ecommerce-financial-membership/memberpress.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
