Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order Desk

Connect Anedot to Order Desk to send donation orders from your Action Pages, manage your connection, and review field mapping, metadata, and payload data.

The Order Desk integration sends an order to your Order Desk store when a donor completes a donation on your Action Pages, and you'll find it in Settings > Integrations. This article covers how to connect Anedot to Order Desk, manage your connection, understand data relays, find your data, and review field mapping and payload data.

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.

  • You need an Order Desk API Key and Store ID from Store Settings > API in Order Desk.

Connect Anedot to Order Desk

Step 1: Get Your Order Desk API Key and Store ID

To get your API Key and Store ID:

  1. In Order Desk, go to Store Settings.

  2. Click the API tab.

  3. Create an API Key. Order Desk shows an API Key and a Store ID.

  4. Copy both values.

You'll use both values when you create the connection in Anedot.

An API key gives full access to your Order Desk store. If a key is exposed, generate a new one from the same API tab, and the previous key stops working immediately.

Step 2: Create the Connection in Anedot

To create the connection:

  1. Go to Settings > Integrations.

  2. Click New integration.

  3. Choose Order Desk. The card is in the Fulfillment category and is described as "Send Action Page order data to Order Desk."

  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.

    • 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.

  6. Enter your Order Desk API key.

  7. Enter your Order Desk store ID.

  8. (Optional) In Hidden fields for order-items metadata, enter a comma-separated list of hidden field labels to send with the order, for example my_hidden_field_key1,my_hidden_field_key2.

  9. Click Create integration.

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

Anedot matches each entry in Hidden fields for order-items metadata to a custom-field response label, not the field's internal name. Hidden fields that are not on this list are not sent.

Manage Your Connection

Each Order Desk connection in Settings > Integrations has Edit, Push unsent, and Delete buttons.

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 your Order Desk connection.

  3. Enter a Name for the connection.

  4. (Optional) Update the Action Page scope, Exclude 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 "Integration updated." and applies your changes to new sends.

Name is required to save the Edit form. Provider shows order_desk and can't be changed.

Turn A Connection Off or On

Enabled is on by default after you create the connection. Uncheck Enabled and click Save integration to stop new sends, including Push. Check Enabled and click Save integration to start sending again.

Anedot turns Enabled off after five authorization failures (HTTP 401 or 403) in a row without a success in between. Other failures do not turn it off.

To turn a connection back on after authorization failures:

  1. Go to Settings > Integrations.

  2. Click Edit on your Order Desk connection.

  3. Check Enabled.

  4. Click Save integration.

Anedot starts sending again. If Enabled turns off again after you save, delete the connection and connect again with a valid API key and Store ID, then use Push unsent.

Push Unsent Donations

Push unsent sends donations in a date range that have not already been successfully sent to Order Desk with the same API key. Donations that were sent successfully are not sent again.

To push unsent donations:

  1. Go to Settings > Integrations.

  2. Click Push unsent on your Order Desk connection.

  3. Choose a Start date and End date.

  4. Start the push.

Anedot shows "Push started." and sends the unsent donations in that range. For the full steps, see Push Unsent in Webhooks (API).

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.

Team, Action Page scope, and Exclude Pages apply to Push as well as live sends. Push does nothing when Enabled is off.

Delete A Connection

To delete a connection:

  1. Go to Settings > Integrations.

  2. Click Delete on your Order Desk connection.

  3. Confirm "Delete this integration?"

Anedot shows "Integration deleted." and stops sending to Order Desk. Records already in Order Desk are not changed.

Data Relays

What Anedot Sends

  • Donation Pages: Anedot sends an order when a donation is completed. One order is sent per submission. After one donation on that submission is sent successfully, the submission's other donations are not sent.

  • Commitments: The first donation of a commitment is sent and can include the commitment amount, uid, and frequency.

  • Paid Event Pages: If the event creates a donation, Anedot sends it the same way as a Donation Page.

  • Products: If the submission has products, they're added as extra order lines with a $0 price and a delivery_type of ship. The donation line uses a delivery_type of noship.

  • Hidden fields: Values for the labels in Hidden fields for order-items metadata are sent in the first order item's metadata. A label with no matching response is sent as null.

Amounts are sent in dollars as a number, for example 25.0 for $25.00. The first item's price, order_total, and processor_balance all equal the submission total.

Records Anedot Skips

Anedot does not send these records, and no Integration Requests row is created when a send is skipped:

  • Recurring charges after the first donation of a commitment

  • Lead Pages

  • A free Event registration with no donation

  • Refunds, voids, chargebacks, ACH returns, and settled events

  • Abandoned Actions

  • Later edits and commitment changes

  • Donations on a connection with Enabled unchecked

  • A donation already sent successfully to Order Desk with the same API key

  • Donations after the connection is deleted

  • Hidden fields that are not in the Hidden fields for order-items metadata list

Delivery And Retries

Each send appears in Settings > Integration Requests with one of these results:

  • Success: Order Desk returned any HTTP 2xx response.

  • Failure: Order Desk returned any other HTTP status. Fix the cause, then use Push unsent.

  • Error: Anedot could not complete the request. The row may show "No HTTP status." These attempts can be tried again automatically.

If a row ends in Failure, Anedot can email users who have the Integration sync failed notification turned on in the Integrations section of their notification settings. This notification is off by default. The subject is "Anedot" followed by the connection Name and "Integration Failed", or "Anedot OrderDesk Integration Failed" when the connection has no name. See Notifications.

For more about reading request rows, see Integration Requests.

Find Your Data in Order Desk

To find your data:

  1. Go to Settings > Integration Requests.

  2. Find the request for the donation and confirm it shows Success.

  3. Review the order in your Order Desk store.

The order's source_id and order_metadata.order_id match the donation uid in Anedot, and order_metadata.source is ANEDOT.

Field Mapping

Anedot Value
Order Desk Field

Donor email

email

Card expiration date (MM/YYYY)

cc_exp

Masked card number (xxxxxxxxxxxx plus last four digits)

cc_number_masked

Donor first name

customer.first_name, shipping.first_name

Donor last name

customer.last_name, shipping.last_name

Address line 1

customer.address1, shipping.address1

Address line 2

customer.address2, shipping.address2

City

customer.city, shipping.city

State

customer.state, shipping.state

Postal code

customer.postal_code, shipping.postal_code

Phone

customer.phone, shipping.phone

Country (always US)

customer.country, shipping.country

Company (always an empty string)

customer.company, shipping.company

Donation uid

source_id

Tax total (always 0)

tax_total

Donation date in UTC (YYYY-MM-DD HH:MM:SS)

date_added

Submission total in dollars

order_items[0].price

Quantity

order_items[].quantity

Delivery type (noship for the donation line, ship for product lines)

order_items[].delivery_type

Donation frequency

order_items[0].metadata.donation_frequency

Donation flag (always "true")

order_items[0].metadata.is_donation

Hidden field values for listed labels

order_items[0].metadata (keyed by label)

Submission total in dollars

order_total

Payment type (VISA, MASTERCARD, DISCOVER, AMEX, AMERICAN EXPRESS, EFT, PAYPAL, or null)

payment_type

Anedot account uid

order_metadata.anedot_account_uid

Commitment amount (first donation of a commitment)

order_metadata.anedot_commitment_amount

Commitment uid (first donation of a commitment)

order_metadata.anedot_commitment_uid

Donation uid

order_metadata.order_id

Fund

order_metadata.fund

Source code

order_metadata.source_code

Masked bank account number (xxxxx plus last four digits, empty for non-bank gifts)

order_metadata.eft_account_number

Bank account type, such as CHECKING (empty for non-bank gifts)

order_metadata.eft_account_type

Donor email

order_metadata.SSO_Ping_id

Source (always ANEDOT)

order_metadata.source

Shipping total (always 0)

shipping_total

Shipping method (always FREE)

shipping_method

Submission total in dollars

processor_balance

Payload Data

This example is a $25.00 one-time Visa donation from Annie Dot with no products and no hidden fields, as stored in Settings > Integration Requests. Values in angle brackets are placeholders.

Troubleshooting

An Order Isn't in Order Desk

Go to Settings > Integration Requests and look for a row for the donation. If there's no row, confirm that:

  • Enabled is checked on the connection.

  • The Action Page is included in your Action Page selection and isn't listed in Exclude Pages.

  • The page belongs to the team you chose in Team, or Team is set to All teams.

  • A donation was completed on the submission.

  • The donation isn't a recurring charge after the first donation of a commitment.

A Row Shows Failure

Review the response on the row, then confirm your API key and Store ID are correct. A 401 or 403 response usually points to the API key or Store ID. If Enabled turned off, follow the steps in Turn A Connection Off or On. After you fix the cause, use Push unsent to send the donations again.

A Row Shows Error

Anedot could not complete the request, and the row may show "No HTTP status." These attempts can be tried again automatically. If the donation still isn't in Order Desk, use Push unsent.

You Need a Different API Key or Store ID

The API key and Store ID can't be changed in Edit. Delete the connection and connect again with the new values, then use Push unsent if needed.

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

Frequently Asked Questions

Does Anedot Send Anything to Order Desk When I Create the Connection?

No. Nothing is sent when the connection is created. Anedot sends an order the next time a donation is completed on an included Action Page. To send earlier donations, use Push unsent.

Are Recurring Donations Sent to Order Desk?

The first donation of a commitment is sent and can include the commitment amount, uid, and frequency. Later recurring charges are not sent. See Commitments.

Are Lead Pages Sent to Order Desk?

No. Lead Pages and free Event registrations with no donation are not sent. Paid Event Pages that create a donation are sent the same way as a Donation Page.

How Can I Include Hidden Fields on the Order?

When you create the connection, enter a comma-separated list of hidden field labels in Hidden fields for order-items metadata. Anedot matches each entry to a custom-field response label and sends the values in the first order item's metadata. See Hidden Fields.

Can I Limit the Connection to Certain Pages or a Team?

Yes. Uncheck All Action Pages and choose pages in Selected pages, or keep All Action Pages checked and list page IDs in Exclude Pages. You can also choose a team in Team to include only that team's pages. These settings apply to live sends and Push. See Teams.

Why Does My Connection Show "Integration" and a Number?

The connection doesn't have a name yet. Click Edit, enter a Name, and click Save integration.

What Happens to My Order Desk Records If I Delete the Connection?

Records already in Order Desk are not changed. Anedot stops sending new orders after the connection is deleted.

Was this helpful?