Docs

Easy Digital Downloads Integration

3 min readUpdated June 20, 2026

Easy Digital Downloads (EDD) is a WordPress plugin for selling digital products. WP Smart Consent integrates with the EDD checkout to add the opt-in checkbox above the purchase button on any EDD-powered checkout page.

How It Works#

WP Smart Consent injects the opt-in checkbox via the edd_purchase_form_before_submit hook, placing it directly above the EDD purchase button. When the form is submitted, the consent state is stored as order meta (_wpsc_optin) at submission time while the POST data is still available.

Forwarding to your CRM and ESP destinations happens on the edd_complete_purchase action, which fires after the purchase is confirmed. At that point, WP Smart Consent reads the stored consent value from order meta and fires wpsc_optin_trigger if the visitor opted in.

A settings panel for Easy Digital Downloads shows the integration as "Inactive." The "Enable" toggle is off. There are tabs: "General" (active) and "Collect fields." At the bottom is a green "Save Easy Digital Downloads" button.

Payment Gateway Coverage#

Because forwarding is tied to edd_complete_purchase rather than the initial form submission, all gateway types are covered correctly. Inline gateways like Stripe that confirm immediately, async gateways like PayPal Standard that redirect and return, and free or zero-value orders all trigger the forwarding once the purchase is confirmed. There is no risk of forwarding a contact whose payment was never completed.

What Gets Forwarded#

On each confirmed opt-in, WP Smart Consent forwards the following fields from the EDD order to your enabled CRM destinations: email, first name, last name, billing address line 1 and 2, city, state, postcode, and country. Phone and company are not available from EDD by default and are left blank unless populated via a custom field or plugin extension.

Send on Unchecked#

The EDD integration supports the Send on unchecked option available in the Options tab of each CRM destination. When enabled on a specific CRM, that destination will receive the contact data from every completed EDD purchase regardless of whether the opt-in checkbox was ticked. This is useful if you manage consent at the CRM level rather than at the checkout level.

Enabling the Integration#

In the WP Smart Consent dashboard, go to Checkout Sources and toggle Easy Digital Downloads on. No additional configuration is needed on the EDD side. The checkbox will appear on all EDD checkout pages immediately after saving.

Troubleshooting#

Checkbox not appearing — confirm the EDD integration is enabled and that your theme or another plugin is not replacing the submit area in a way that skips the edd_purchase_form_before_submit hook.

Contact not forwarded after purchase — EDD forwarding fires on edd_complete_purchase. If a payment fails, is abandoned, or remains pending, this hook never fires and no contact is forwarded. Check the EDD payment status in the admin to confirm the order completed.

Contact forwarded but opt-in not recorded — if a contact appears in your CRM from an EDD purchase where the visitor did not tick the checkbox, check whether Send on unchecked is enabled on that CRM destination in the Options tab.

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