Logo

How can we help you?

Search our knowledge base to get answers to your questions, access video training & more!

Error When Processing a Partial Refund on Advance Payments

Payments

Error When Processing a Partial Refund on Advance Payments

Last updated on 13 Nov, 2026

Symptoms

When attempting to process a Partial Refund for a payment, users may encounter an error preventing the transaction from completing successfully.

Image

Cause

This issue typically occurs when the payment record is flagged as an advance payment, but the unallocated funds have not been specified. Specifically, this happens if:

  1. The Advance Payment checkbox (fw1__Is_Advance_Payment__c) is checked (set to true).

  2. The Unallocated Amount field (fw1__Unallocated_Amount__c) is left blank.

Resolution

To resolve this issue and successfully process the partial refund, you must adjust the payment record using one of the two following methods:

Option 1: Deactivate the Advance Payment Flag

  1. Navigate to the affected Payment record in Salesforce.

  2. Uncheck the Advance Payment (fw1__Is_Advance_Payment__c) checkbox so the payment is no longer treated as an advance payment during the refund process.

  3. Save the record and retry the partial refund.

Option 2: Populate the Unallocated Amount

  1. Navigate to the affected Payment record in Salesforce.

  2. Enter the correct value into the Unallocated Amount (fw1__Unallocated_Amount__c) field.

  3. Save the record and retry the partial refund.

Best Practice Tip: If this payment originated from a custom payment link or an automated process, we highly recommend reviewing your custom logic or Salesforce Flows. Ensure that your automation is not incorrectly checking the Advance Payment field by default when it is not applicable.

Did you find this article helpful?
Previous

How to Determine if a Payment was Processed Manually or via Auto-Pay

Next