Allow Contributions to go from "Completed" to "Partially Paid" when a refund is issued
Currently when updating a Contribution thru the API using
Contribution.create which status a contribution can be updated to is validated based on the current status of the contribution.
At this time a "Completed" contribution can be updated to 'Cancelled', 'Refunded' or 'Chargeback'.
Currently we are working on Refund/Void functionality for Payments. We would like to make the case for allowing Contributions to go from "Completed" to "Partially Paid" when one of multiple payments is refunded or voided either by:
- Adding "Partially paid" to the list of allowed statuses Completed contributions can be updated to in CRM_Contribute_BAO_Contribution::checkStatusValidation OR
- by adding a flag to override status validation to