This article walks through how to integrate with 360MatchPro through the Open Discovery Program.
The integration will surface matching gift information on a searched company when a donor gives to a relevant nonprofit on your platform.
Screening for Relevant Nonprofits
When a nonprofit is matching gift optimized as a user of 360MatchPro by Double the Donation to manage matching gift automation, their EIN number will be registered with Double the Donation as connected to their 360MatchPro account.
Use the following endpoint to search for a Double the Donation client using the nonprofit's EIN number. Endpoint linked here.
Note: Organizations enter their own EIN numbers in their accounts, so while Double the Donation provides basic field validation to ensure proper formatting, accuracy is not guaranteed. The EIN parameter uses a standard format of "XX-XXXXXXX".
Implementing the Double the Donation Matching Gift Plugin
Step 1: Include CSS and JavaScript on the page.
Include the following CSS and JavaScript somewhere on the page:
<!--Listing 1-->
<script src="https://doublethedonation.com/api/js/ddplugin.js"></script>
<link href="https://doublethedonation.com/api/css/ddplugin.css" rel="stylesheet" />
Step 2: Insert and initialize the matching gift plugin.
Insert the following div element on the confirmation page where the matching gift plugin should appear.
<!--Listing 3 -->
<div id="dd-container"></div>
If a donation form styling or size is not compatible with the standard matching gift plugin, the partner may use the condensed matching gift plugin. Review the documentation here and discuss with Double the Donation Partnerships Team before implementing.
The matching gift plugin should appear blank and prompt the donor to select their company. The plugin tracks what the donor selects at this stage.