Docs

Easy Digital Downloads Integration

4 min readUpdated November 3, 2026

WP Smart Consent adds a marketing opt-in checkbox to the Easy Digital Downloads (EDD) checkout, just above the purchase button. When a payment completes, the order is logged with the customer’s answer and passed on to your connected CRMs, email platforms and webhooks, which each apply their own rules for customers who didn’t tick the box.

Before you start#

  • Easy Digital Downloads 3.x active. The integration only loads when EDD is detected. The card’s Active / Inactive badge shows your Enable switch, not whether EDD is installed.
  • At least one CRM, email platform or webhook set up if you want contacts forwarded.

Setting it up#

  1. Go to WP Smart Consent → Checkouts.
  2. Open the Easy Digital Downloads · EDD checkout card.
  3. On the General tab, switch on Enable.
  4. Optional: on the Collect fields tab, add any order meta you want to send.
  5. Optional: set CRM overrides.
  6. Click Save Easy Digital Downloads.
The Easy Digital Downloads card's General tab with the Enable switch

There’s nothing to configure inside EDD.

Where the checkbox appears#

The checkbox is shown in the purchase section of the EDD checkout, right before the purchase button, in the same area as EDD’s own terms and privacy checkboxes.

  • The label is your General → Label text. Simple HTML such as a privacy-policy link is allowed.
  • The box starts unticked unless Pre-checked by default is on and the visitor’s country is pre-checked in Geo rules.
  • The checkbox never blocks the purchase.

What happens at checkout#

  1. When EDD creates the order, WP Smart Consent saves the customer’s answer on it.
  2. When the payment is marked complete, WP Smart Consent reads that answer. This works for instant payments, gateways that confirm later (such as off-site PayPal), and free orders.
  3. The order is logged and passed on with the customer’s answer, ticked or not.
Ticked Unticked
Customers Log Logged as consented, source edd Logged as not consented
CRMs and email platforms Sent to every active CRM Passed on flagged as not consented. Only Mailchimp and the WordPress CRMs (FluentCRM, MailPoet, Mailster, Newsletter, Groundhogg, MailerPress) can store it, and only with their Send on unchecked switch on, never as subscribers. Other CRMs skip it
Webhooks consent.granted consent.declined, only for webhooks with Also send when NOT consented on

Each order is logged and forwarded only once, even if EDD marks the payment complete more than once (for example after a manual status change or a repeated gateway notification).

What gets sent#

Field Source
Email Payment email
First name, Last name Payment first and last name
Address line 1 and 2, City, State, Postcode, Country The payment’s billing address, when your checkout collects one. Country is the code EDD stores.
Your custom fields Any order meta key you add on the Collect fields tab, under the field key you choose

EDD doesn’t provide a phone number or company, so Collect phone number and Collect company name have no effect here. If another plugin saves them on the order, add them as custom fields instead.

Settings reference#

Tab Setting Default What it does
General Enable Off Adds the checkbox and records consent.
General Forward to CRMs All active CRMs Information only.
Collect fields Collect phone number, Collect company name On No effect for EDD (no phone or company field).
Collect fields Add custom field None Copies a value saved on the order into the data sent on. Each row has a Label (for your reference), an Order meta key and a Field key (sent to CRMs).
CRM overrides Lists (override), Tags (override) per active CRM Empty Lists and tags used for EDD customers instead of the CRM’s global ones.

To use a custom field in a CRM, add a row on that CRM’s Custom fields tab with your field key as the Source key. Field keys are saved in lowercase, with only letters, numbers, - and _. A row needs both keys, and empty values aren’t sent.

The EDD CRM overrides tab

Troubleshooting#

The checkbox doesn’t appear. Check that EDD is active and the card is enabled and saved. The checkbox uses EDD’s edd_purchase_form_before_submit hook; a heavily customized checkout that removes it won’t show the box. Clear your page cache.

A purchase isn’t logged or forwarded. – Only completed payments are processed. Pending or failed payments are not. – Orders created before you enabled the integration, or by other tools, have no stored answer and are skipped. – The payment needs a valid email address.

Contacts don’t reach my CRM. If the log shows Checked: No, the customer didn’t tick the box; those customers only go to Mailchimp or a WordPress CRM with Send on unchecked on, and never as subscribers. Other cloud CRMs never receive them. Otherwise look for [WPSC] <CRM> sync failed for <email>: … in the debug log (turn it on with WP_DEBUG and WP_DEBUG_LOG, or add_filter( 'wpsc_debug_log', '__return_true' );).

For developers#

The answer is stored as order meta _wpsc_optin (1 or 0), and _wpsc_optin_forwarded marks orders already forwarded. A completed order fires do_action( 'wpsc_optin_trigger', $optin, $payment, $billing, $context ) with $context['source'] = 'edd', ticked or not. wpsc_checkout_collected_data filters the data after the Collect fields settings are applied ($slug is edd).

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only