Solution Deployed
Nonprofit / Elevate
SFDO Elevate: Refunds for Opportunities with non-default GAU Allocations that don't have a % throw error
Summary
You may run into the following error when you refund a donation in Elevate if the Opportunity in Salesforce has an Allocation for a non-default General Accounting Unit and there is no % listed on the Allocation (there is only an Allocation Amount).
"ccsi_npsp.ErrorHandlerFacade.ErrorHandlerCustomException
System.DmlException: Update failed. First exception on row 0 with id 0066t000003hcfQAAQ; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, The Allocation totals for this Opportunity exceed the Opportunity amount. Update your Allocation amounts first, then update the Opportunity amount to match.: [Amount] Stack Trace: Class.ccsi_npsp.PaymentEventHandler.handleRefunds: line 784, column 1 Class.ccsi_npsp.PaymentEventHandler.execute: line 316, column 1 Class.ccsi_npsp.ElevateEventHandler.execute: line 50, column 1 Class.ccsi.EventDispatcher.fireListeners: line 66, column 1 Class.ccsi.EventDispatcher.fire: line 43, column 1 Class.ccsi"
This errored record will also block other donations from syncing to Salesforce.
The bug fix will update the refund logic so that Allocations with only a set amount (no %) are also updated to $0 when refunded via Elevate.
"ccsi_npsp.ErrorHandlerFacade.ErrorHandlerCustomException
System.DmlException: Update failed. First exception on row 0 with id 0066t000003hcfQAAQ; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, The Allocation totals for this Opportunity exceed the Opportunity amount. Update your Allocation amounts first, then update the Opportunity amount to match.: [Amount] Stack Trace: Class.ccsi_npsp.PaymentEventHandler.handleRefunds: line 784, column 1 Class.ccsi_npsp.PaymentEventHandler.execute: line 316, column 1 Class.ccsi_npsp.ElevateEventHandler.execute: line 50, column 1 Class.ccsi.EventDispatcher.fireListeners: line 66, column 1 Class.ccsi.EventDispatcher.fire: line 43, column 1 Class.ccsi"
This errored record will also block other donations from syncing to Salesforce.
The bug fix will update the refund logic so that Allocations with only a set amount (no %) are also updated to $0 when refunded via Elevate.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed with 1 report
Nov 30, 2026