Install, Upgrade and Uninstall
This article explains what Dryad Receipting does automatically when the package is installed, upgraded or uninstalled, including the NPSP settings it adds and removes.
We recommend that Dryad performs the installation and upgrades on your behalf, to make sure everything is configured correctly.
When You Install
Right after a new install, Dryad Receipting creates its starting data and settings. Most of the setup runs as a background job, so it finishes a short while after the install screen says it is done.
| What is created | Details |
|---|---|
| Sample email templates | "Receipt Sample Email Template (EN)" and "Receipt Sample Email Template (FR)". Skipped if templates with the same names already exist. |
| Sample receipt templates | One in English and one in French. See Receipt Templates. |
| Receipt Settings | The organization-level settings record, with the defaults listed in Receipt Settings. The sample templates are set as the default templates. |
| Receipt field mappings | The standard mappings for Recurring Donations, Opportunities and Payments. See Field Mapping. |
| NPSP settings | See NPSP Settings Added by Dryad Receipting below. |
When You Upgrade
An upgrade keeps your data and settings. It only:
- adds any of the NPSP settings that are missing, without changing or duplicating existing ones
- fills settings added in later versions when they are blank, so upgraded orgs get the same defaults as new installs: Receipt Template Threshold (50) and Receipt by (Opportunity)
- moves the Recurring Donation donor name mapping from NPSP's Donor Name to Dryad Receipting's Donor Name, so organization recurring donations are receipted in the organization's name. A mapping you pointed at another field is left alone. See Field Mapping.
Values an admin has already set are kept.
NPSP Settings Added by Dryad Receipting
Install and upgrade add these settings to NPSP, so NPSP copies Dryad Receipting values onto the records it creates.
| NPSP setting | Where to find it | What it does |
|---|---|---|
| Payment Mappings: Receipt Template, Email Template Id and Receipting Account | NPSP Settings > Donations > Payment Mappings | When NPSP creates Payments for an Opportunity, the Opportunity's values are copied to the Payments. Skipped for any field that already has a mapping. |
| Recurring Donation Custom Field Mapping: Receipting Account | NPSP Settings > Recurring Donations > Custom Field Mappings | When NPSP creates installment Opportunities, the Recurring Donation's Receipting Account is copied to them. Skipped if a mapping to the Opportunity's Receipting Account already exists. |
| Trigger Handler for Receipts | NPSP Settings > System Tools > Trigger Configuration | Runs Dryad Receipting's logic when Receipts are created and updated. |
If Part of the Setup Fails
Each setup step runs on its own, so one failure doesn't stop the rest, and the install or upgrade always completes.
If any step fails, the admin who installed or upgraded the package gets one email, "Dryad Receipting: post-install setup did not complete", listing each failed step. Forward it to Dryad support.
The email is only delivered if Setup > Deliverability allows it (see Email Setup).
When You Uninstall
Uninstalling removes all of Dryad Receipting's objects, fields and data from your org, including Receipts, Receipt Templates and Receipt Settings. Before it does, Dryad Receipting removes the NPSP settings that refer to it:
- Recurring Donation Custom Field Mappings that use a Dryad Receipting field, on either side
- Payment Mappings that use a Dryad Receipting field, on either side
- Trigger Handlers whose Class starts with
dryad., including any you added yourself (for example, for Enable Index Optimization)
All mappings that use a Dryad Receipting field are removed, not only the ones the install created, because any of them stops NPSP from working once the fields are gone. Other NPSP settings are not changed.
If the Clean-Up Fails
The admin who uninstalled the package gets an email, "Dryad Receipting: uninstall clean-up did not complete". Delete the settings listed above by hand (see Manual Clean-Up).
Versions 1.24 and Earlier
The automatic clean-up was added after version 1.24. If you uninstall version 1.24 or earlier, delete the NPSP settings yourself, before or right after you uninstall.
Manual Clean-Up
- Go to NPSP Settings > Recurring Donations > Custom Field Mappings, and delete each mapping whose fields start with
dryad__. - Go to Donations > Payment Mappings, and delete each mapping whose fields start with
dryad__. - Go to System Tools > Trigger Configuration, and delete each Trigger Handler whose Class starts with
dryad..
Reinstalling
Reinstalling works like a new install. The sample templates, Receipt Settings, field mappings and NPSP settings are created again. Receipts and other data from the earlier install are not restored.
Troubleshooting
| Symptom | Check |
|---|---|
| After an uninstall, NPSP sends an error email: "No such column 'dryad__…'" | An NPSP setting still refers to a Dryad Receipting field. Follow Manual Clean-Up. |
| Installment Opportunities don't get the Recurring Donation's Receipting Account | Check that the Receipting Account Custom Field Mapping exists under NPSP Settings > Recurring Donations. If it's missing, add it, or upgrade the package to recreate it. |
| Payments don't get the Opportunity's templates or Receipting Account | Check the Payment Mappings under NPSP Settings > Donations. |
| The template editor on a Receipt Template record is blank, or shows "refused to connect" | Add your org's Lightning domain under Session Settings > Trusted Domains for Inline Frames. See If the Editor Doesn't Appear. |
| You received "post-install setup did not complete" | Forward the email to Dryad support. The steps that didn't fail were completed. |