Charitable Easy Digital Downloads Connect

Charitable Easy Digital Downloads Connect allows you to raise money for causes using Easy Digital Downloads.


Installing Charitable Easy Digital Downloads Connect is the same as installing any other Charitable extension. If you’re not sure how to do that, we recommend first reading our guide to installing Charitable extensions.

Creating contribution rules

  1. Go to Charitable Campaigns if you are editing an existing campaign, or Charitable > Add Campaign to create a new campaign.
  2. On the campaign editing page, look for the + Add New Contribution Rule button inside the Donation Options tab. Clicking on that will open up a little form where you can enter how much should be contributed (either as a fixed $ amount or a %), which products it applies to, as well as the start and end date for the rule. The end date can be left blank to have it as an open-ended rule.

    Creating a contribution rule with Charitable Easy Digital Downloads Connect
    Creating a contribution rule with Charitable Easy Digital Downloads Connect.
  3. Click Save Draft. 
  4. After the page reloads, scroll down to the Donation Options tab. There will be some new settings there since you create a contribution rule. These basically allow you to add a section at the bottom of the campaign page where people can see the products they can purchase to contribute to the campaign.

Showing the contribution note with download purchase buttons

Product contribution note in Checkout theme
Product contribution note in Checkout theme

An optional setting you can enable is to add a note to download purchase buttons that shows how much will be contributed to fundraising campaigns. This is how you set that up:

  1. Go to Charitable > Settings.
  2. Scroll to the bottom of the settings. You will see an option to decide whether you want to show much each download is contributing to the cause. Tick the box to enable it.
  3. Click Save Changes to update your settings.

If you enable that, it adds a little note below the standard EDD purchase button.

A note about gateways

When Charitable Easy Digital Downloads Connect is activated, all donations / contributions are made through the EDD checkout. Charitable can be used without EDD and has its own gateways to support that, but we disable all those when EDD is running to keep everything part of a single checkout experience.

Creating donations in Test Mode

If you have Easy Digital Downloads set to use Test Mode, donations are not automatically created for payments. Donations are only created for live payments.

If you’d like to have donations created for test payments, you can use the following line of code:

add_filter( 'edd_log_test_payment_stats', '__return_true' );
If you’re unsure how to add this code, the easiest option is to use the Code Snippets plugin and add this as a snippet.