Skip to main content
Skip table of contents

Customize Donations in Community Hub

Staff can customize pages in Community Hub so you can tailor the online giving experience to fit your association needs and control the entity used when making donations.

Donation Pages

Here are the Community Hub pages used for donations:

Some of the things you can change are the heading or description of these pages, add or remove cards, and adjust the information shown on some cards. Learn more about how you can customize these pages to provide an engaging giving experience.

Let Constituents Opt-in to Recurring Donations

As of Spring '19, Community Hub supports recurring donations, which lets constituents sign up for automatic donations on a regular basis, such as monthly or quarterly. Once recurring payments is enabled and a donation product is configured to recur and, Community Hub will present that option to constituents. Learn how to Set Up a Product to be Eligible for Recurring Payments.

Learn more about the user experience by visiting the Community Hub pages linked above (Donate Now Page, etc.).

Configure the Donation Entity

The Donate page in Community Hub displays donation products for all entities set up in your org. When constituents click on a donation, they are taken to the Donate Now page.

For the Donate Now page, you can configure whether submitted orders are created based on the donation product's entity or based on a primary entity.

Use the Donation Product's Entity

We recommend this approach if you are not using stored payment methods or Entity Crossovers. This allows constituent to make donation orders which are processed and paid for using the payment gateway for the entity on the donation product.

That you can customize the DataSource for the pages so that you can exclude Donation Products from specific entities from the main Donate page. As a best practice, that this should be done for PAC entities so that the rules and regulations of PAC Donations are respected.


For example, you can create a query similar to this, which will need to be set to System (rather than User):

CODE
SELECT Id, Name, NU_Descriptionc, NUCheckoutURLc FROM NUProductc WHERE NUEntityr.Name != '[Insert PAC Entity Name Here]' AND NUStatusc = 'Active' AND NUSelfServiceEnabledc = True AND NURecordTypeName_c = 'Donation' )


By default, the order is created with the entity set on the donation product and payment is made using the payment gateway for that entity. Also, the Donate Now page displays constituents stored payment methods for the entity set on the donation product.

As an example: April Black creates a stored payment for the ISEN entity. When April browses to the Donate Now page to make a donation to ISEN Research, her stored payment method displays and when she submits the donation, the order is marked with ISEN and the payment processes using the ISEN payment gateway.

When April browses to the Donate Now page to make a donation for the Education Foundation—which is through the Nimble Foundation entity—her stored payment method does not display because she has no stored payments for the Nimble Foundation and the order is marked with Nimble Foundation and the payment processes using the Nimble Foundation payment gateway, which is the entity set on the donation product.

Use a Primary Entity

We recommend this approach if your association has donation products for two or more entities and uses Entity Crossovers to ensure payments are accounted for properly. This allows constituents to view and use their stored payments created for the primary entity to make donations, regardless of entity on the donation product.

Alternatively, administrators can set the primary entity the Donate Now page uses when creating an order, submitting payment, and displaying stored payment methods. 

As an example: An administrator sets ISEN as the primary entity for a Community Hub and April Black creates a stored payment for the ISEN entity. When April browses to the Donate Now page to make a donation to ISEN Research, her stored payment method displays and when she submits the donation, the order is marked with ISEN and the payment processes using the ISEN payment gateway.

When April browses to the Donate Now page to make a donation for the Education Foundation—which is through the Nimble Foundation entity—her stored payment method for ISEN displays and the order is marked with ISEN and the payment processes using the ISEN payment gateway.


Administrators can set the primary entity used for donations.

  1. From Community Hub Setup in Lightning, navigate to Community Hub Settings
  2. Click Edit next to Customization under Customization Settings.
  3. In Donation Primary Entity Id, enter the Salesforce ID for the entity the Donate Now page uses when creating an order and submitting payment. Additionally, only stored payment methods for the given entity are displayed on the Donate Now page.

    For URL "https://na1.salesforce.com/00530000000ibYc," the unique Salesforce ID is: '00530000000ibYc.'

  4. Click Save.


Both My Domain and the Lightning Experience are required to use this feature.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.