> 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/planning-center.md).

# Planning Center

Connect Anedot to Planning Center to send donation and person data from your Action Pages, manage your connection, and review field mapping and payload data.

The **Planning Center** integration sends donations from your Action Pages to Planning Center Giving, matches or creates the donor as a person, and posts each donation into the batch you choose. You'll set it up in **Settings > Integrations**, and this article covers connecting Anedot to Planning Center, managing your connection, data relays, finding your data, field mapping, payload data, and troubleshooting.

## Before You Begin

Make sure you have the following ready:

* 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).
* A Planning Center account with access to Planning Center Giving.
* A Planning Center developer account where you can create a Personal Access Token.
* A batch and a payment source in Planning Center Giving, and the unique ID for each.

## Connect Anedot to Planning Center

Connecting has two stages. First you gather your credentials and IDs in Planning Center, and then you create the connection in Anedot.

### Step 1: Get Your Planning Center Credentials and IDs

#### Get Your Application ID and Application Secret

Anedot connects with a Personal Access Token from your Planning Center developer account. Planning Center calls the token values `client_id` and `secret`. In Anedot, you'll enter them as **Application ID** and **Application secret**.

To get your Application ID and Application secret:

1. Go to your Planning Center developer account at <https://api.planningcenteronline.com>.
2. Create a new Personal Access Token.
3. Copy the `client_id` and `secret`.

You now have the values you'll enter in Anedot as **Application ID** and **Application secret**.

{% hint style="warning" %}
A Personal Access Token is the equivalent of your Planning Center username and password. Never share it with another user or company.
{% endhint %}

{% hint style="info" %}
The integration acts under the permission levels of the Planning Center user who created the token. To revoke a token, go to your developer account and delete it.
{% endhint %}

#### Create A Batch

Anedot posts each donation into the batch whose ID you enter on the connection. Anedot doesn't create or commit batches, so you'll create the batch in Planning Center Giving.

To create a batch:

1. In Planning Center Giving, select **Batches** in the top navigation.
2. Select the **In progress** tab.
3. Select **New batch**.

You'll need this batch's unique ID for the **Batch ID** field in Anedot. Each batch ID is unique within your Planning Center organization.

#### Create A Payment Source

To create a payment source:

1. In Planning Center Giving, select **Manage** in the top navigation.
2. Select the **Setup** tab.
3. Select **Payment sources** on the left.
4. Select **New payment source**.
5. Enter a name and choose a type. For typical donor gifts, choose **Direct from donor**.
6. (Optional) Choose whether to email donation receipts for this payment source.
7. Select **Create**.

You'll need this payment source's unique ID for the **Payment source ID** field in Anedot.

### Step 2: Create the Connection in Anedot

To create the connection:

1. Go to **Settings > Integrations**.
2. Click **New integration**.
3. Choose **Planning Center**. The card is in the ChMS category and is described as "Send Action Page data to Planning Center."
4. Choose which Action Pages to include:
   * Leave **All Action Pages** checked to include all current and future pages. (Optional) In **Exclude Pages**, enter a comma separated list of Action Page IDs, with no spaces.
   * Or uncheck **All Action Pages** and choose pages in **Selected pages** to include only the pages you pick.
5. (Optional) In **Team**, leave **All teams** or choose a team to include only that team's pages. See [Teams](https://docs.anedot.com/settings/access/teams.md).
6. Enter your **Application ID**.
7. Enter your **Application secret**.
8. Enter your **Batch ID**.
9. Enter your **Payment source ID**.
10. Click **Create integration**.

Anedot shows "Integration created." and the connection appears in your integrations list. Nothing is sent to Planning Center when the connection is created.

{% hint style="warning" %}
Anedot doesn't check the **Batch ID** or **Payment source ID** when you save the connection. Double-check both values, because they can't be changed after the connection is created.
{% endhint %}

{% hint style="info" %}
Nothing is sent to Planning Center when you create the connection. Sends start with the next paid submission on an included page.
{% endhint %}

## Manage Your Connection

You can edit, turn off or on, push, or delete your connection from **Settings > Integrations**.

### Edit A Connection

After you create the connection, the list shows **Integration** followed by a number, for example "Integration 42", until you enter a **Name** in **Edit**.

To edit a connection:

1. Go to **Settings > Integrations**.
2. Click **Edit** on the Planning Center connection.
3. Enter a **Name**. This field is required to save.
4. (Optional) Update the Action Page scope, **Exclude Pages**, **Selected pages**, or **Team**.
5. (Optional) Check or uncheck **Enabled**.
6. Leave the **Credentials/details JSON** box as it is.
7. Click **Save integration**.

Anedot shows the message "Integration updated." and the connection uses your new settings.

{% hint style="info" %}
The **Credentials/details JSON** box doesn't show or change your Application ID, Application secret, Batch ID, or Payment source ID. To use different values, delete the connection and connect again.
{% endhint %}

### Turn A Connection Off or On

**Enabled** is on by default. When it's off, Anedot stops new sends to Planning Center, including Push, and no Integration Requests row is created.

To turn a connection off or on:

1. Go to **Settings > Integrations**.
2. Click **Edit** on the Planning Center connection.
3. Uncheck **Enabled** to stop sending, or check **Enabled** to start sending again.
4. Enter a **Name** if the field is blank.
5. Click **Save integration**.

Anedot shows the message "Integration updated." and the connection stops or resumes sending.

Anedot turns **Enabled** off automatically after five authorization failures (HTTP 401 or 403) in a row without a success in between. Other failures, such as an invalid Batch ID, don't turn **Enabled** off.

{% hint style="warning" %}
Saving doesn't reset the authorization failure count. If **Enabled** turns off again after you save, delete the connection, connect again with a valid Application ID and Application secret, and then use **Push unsent**.
{% endhint %}

### Push Unsent Donations

**Push unsent** sends donations in a date range that haven't already been sent successfully to Planning Center with the same Application ID. This includes donations that were never attempted, not only failures. Donations that were sent successfully aren't sent again.

To push unsent donations:

1. Go to **Settings > Integrations**.
2. Click **Push unsent** on the Planning Center connection.
3. Choose a **Start date** and an **End date**.
4. Start the push.

Anedot shows the message "Push started." and sends the unsent donations in that range to Planning Center.

{% hint style="info" %}
The range can be up to 31 days, and the start date must be within the last 12 months. Wait about five minutes between pushes.
{% endhint %}

**Team**, the Action Page scope, and **Exclude Pages** apply to Push as well as live sends. Push does nothing when **Enabled** is off. For more about pushing, see [Push Unsent](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#push-unsent).

### Delete A Connection

To delete a connection:

1. Go to **Settings > Integrations**.
2. Click **Delete** on the Planning Center connection.
3. Confirm "Delete this integration?"

Anedot shows the message "Integration deleted." and stops sending to Planning Center. Records already in Planning Center aren't changed.

{% hint style="danger" %}
Deleting a connection can't be undone. To send again, connect again with your Application ID, Application secret, Batch ID, and Payment source ID.
{% endhint %}

## Data Relays

Planning Center is a direct send from Anedot to Planning Center.

### What Anedot Sends

Anedot sends a paid Action Page submission after it's captured, from Donation Pages and paid Event Pages. Each submission becomes one Planning Center donation, posted into the Batch ID on the connection.

* **Commitments:** The first donation of a commitment is sent as that submission. Later recurring charges aren't sent. See [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md).
* **Multiple funds:** A submission with more than one fund is sent as one Planning Center donation with one designation per fund allocation.
* **Amounts:** Amounts are sent in cents as an integer, for example `2500` for $25.00.
* **Payment method:** `card` for a credit card, PayPal, or offline card; `ach` for a bank account; `check` for a check; or `cash` for any other method.
* **Date:** The donation's received date is the submission's created date and time in your account time zone.
* **Payment source:** Every donation uses the Payment source ID on the connection.

Anedot only adds donations to the batch you entered. It never creates a batch and never commits a batch.

#### Person Matching

Anedot searches Planning Center people by the donor's email, then keeps the first result whose first and last names match. Letter case and accents are ignored.

* If no person matches, Anedot creates the person and adds the email as a Home, primary email.
* A matched person doesn't get a new email.
* Address and phone are found or created, both with the location Home.

#### Fund Matching

Anedot looks up a Planning Center fund with the exact same name as the Anedot fund.

* If the Anedot fund name contains "General", or there's no fund, Anedot looks up the Planning Center fund named "General".
* If no matching fund is found, Anedot creates one using the Anedot fund name, a ledger code equal to the fund identifier, and a description.

#### Conduit Funds

A conduit fund is a fund that another Anedot account shares with your account, when your account collects gifts for that account as a conduit. Anedot records a gift to a conduit fund as a donation on the account that owns the fund, not on your account.

Conduit allocations aren't sent to Planning Center. If every allocation on a submission is a conduit fund, the submission is skipped and no Integration Requests row is created.

### Records Anedot Skips

Anedot doesn't add these as donations in Planning Center, and no Integration Requests row is created when a send is skipped:

* Recurring charges after the first donation of a commitment
* Lead Pages and free Event registrations with no donation
* Refunds, voids, chargebacks, ACH returns, settlement, and later edits or commitment changes
* Abandoned Actions
* Donations on a connection with **Enabled** unchecked
* A donation already sent successfully to Planning Center with the same Application ID
* Donations after the connection is deleted
* A submission whose only fund is a conduit fund

{% hint style="info" %}
For Lead Pages and free Event registrations, Anedot may still add or update the person, address, or phone in Planning Center.
{% endhint %}

Hidden fields, custom fields, employer, occupation, and middle name are never sent. See [Hidden Fields](https://docs.anedot.com/action-pages/page-builder/hidden-fields.md).

### Delivery And Retries

Each send appears in **Settings > Integration Requests**. Only the donation request is stored in the row. The earlier person and fund steps aren't stored, request headers are stored as `{}`, and the Batch ID isn't shown on the row.

Each row shows one of these statuses:

* **Success:** Planning Center returned HTTP 201 for the donation.
* **Failure:** A person, email, address, or phone step failed, or the donation request returned any status other than 201. If a step fails before the donation request, the person id may be empty and the row can show "Response not received".
* **Error:** Anedot couldn't complete the request. These attempts can be tried again automatically.

When a row shows **Failure**, Anedot emails users who have the **Integration sync failed** notification turned on in the Integrations section of their notification settings. This notification is off by default, and it isn't sent for **Error** rows. The subject is "Anedot" followed by the connection **Name** and "Integration Failed", or "Anedot PlanningCenter Integration Failed" when the connection has no name. See [Notifications](https://docs.anedot.com/get-started/security/notifications.md).

For more about reading request rows, see [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md).

## Find Your Data in Planning Center

To confirm Anedot sent a donation, go to **Settings > Integration Requests** and find the Planning Center row.

To find the donation in a batch:

1. In Planning Center Giving, select **Batches** in the top navigation.
2. Select the **In progress** tab if the batch isn't committed, or the **Committed** tab if it is.
3. Open the batch whose ID you entered on the connection.

The batch shows the donations Anedot added.

To find the donation in reports:

1. In Planning Center Giving, select **Donations** in the top navigation.
2. Select the **Reports** tab on the left.
3. Select the **By donation** tab.
4. Select a donation to see more information.

The donation details open. Uncommitted donations can show an uncommitted stamp.

### Commit Your Batch

Anedot never commits the batch. While a batch is in progress, its donations aren't visible to donors on Church Center or on donor statements, and Planning Center automations don't trigger.

To commit a batch:

1. In Planning Center Giving, select **Batches** in the top navigation.
2. Select the **In progress** tab.
3. Open the batch.
4. Select **Commit batch…**.

The batch's donations are committed in Planning Center.

{% hint style="info" %}
If the batch is already committed, donations Anedot adds to it are committed automatically. Donations can also be added to a committed batch from the **Committed** tab.
{% endhint %}

## Field Mapping

| Anedot Value                                              | Planning Center Field                   |
| --------------------------------------------------------- | --------------------------------------- |
| Payment method (`card`, `ach`, `check`, or `cash`)        | `attributes.payment_method`             |
| Submission created date and time in the account time zone | `attributes.received_at`                |
| Planning Center person id from the match or create step   | `relationships.person.data.id`          |
| Payment source ID from the connection                     | `relationships.payment_source.data.id`  |
| Allocation amount in cents                                | `included[].attributes.amount_cents`    |
| Planning Center fund id from the match or create step     | `included[].relationships.fund.data.id` |

## Payload Data

This example is a $25.00 one-time card donation from Annie Dot, as stored in **Settings > Integration Requests**. Values in angle brackets are placeholders. Annie's name and email don't appear in this body, because only the donation request is stored.

```json
{
  "data": {
    "type": "Donation",
    "attributes": {
      "payment_method": "card",
      "received_at": "<YYYY-MM-DDTHH:MM:SS.sss±HH:MM>"
    },
    "relationships": {
      "person": {
        "data": {
          "type": "Person",
          "id": "<PCO person id>"
        }
      },
      "payment_source": {
        "data": {
          "type": "PaymentSource",
          "id": "<Payment source ID>"
        }
      }
    }
  },
  "included": [
    {
      "type": "Designation",
      "attributes": {
        "amount_cents": 2500
      },
      "relationships": {
        "fund": {
          "data": {
            "type": "Fund",
            "id": "<PCO fund id>"
          }
        }
      }
    }
  ]
}
```

## Troubleshooting

### A Donation Isn't in Planning Center

Check these items:

* Go to **Settings > Integration Requests** and look for a Planning Center row for the donation.
* Confirm **Enabled** is checked on the connection.
* Confirm the Action Page is included in the connection's Action Page scope and isn't listed in **Exclude Pages**.
* Confirm the Action Page belongs to the team chosen in **Team**, or that **Team** is set to **All teams**.
* Confirm the submission was captured.
* Confirm the donation isn't a later recurring charge of a commitment. Only the first donation is sent.
* Check whether the batch is still in progress. If it is, commit it to make the donation visible to donors.

### A Row Shows Failure

1. Review the response on the row in **Settings > Integration Requests**.
2. Confirm your Application ID, Application secret, Batch ID, and Payment source ID are correct. A 401 or 403 status usually points to the Personal Access Token.
3. If **Enabled** turned off, follow the steps in [Turn A Connection Off or On](https://docs.anedot.com/integrations/ecommerce-financial-membership/planning-center.md#turn-a-connection-off-or-on).
4. Use **Push unsent** to send the donation again.

### A Row Shows Error

Error attempts can be tried again automatically. If the donation still isn't in Planning Center, use **Push unsent** for that date range.

### You Need a Different Application ID, Secret, Batch ID, or Payment Source ID

These values can't be changed after the connection is created. Delete the connection, connect again with the new values, and then use **Push unsent** if needed.

### The Donation Is in the Batch But Donors Can't See It

The batch may still be in progress. Donations in an in-progress batch aren't visible to donors on Church Center or on donor statements. Commit the batch using the steps in [Commit Your Batch](https://docs.anedot.com/integrations/ecommerce-financial-membership/planning-center.md#commit-your-batch).

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)


---

# 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/planning-center.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.
