Editing an unpaid event registration to add a partial payment crashes
I think this is at least semi-recent since I know one site that uses this workflow regularly.
- Create a backend event registration.
- Uncheck the record payment checkbox.
- Save.
- Edit the registration.
- Check the record payment checkbox and put in a partial payment.
- Crash - Mandatory key(s) missing from params array: trxn_date. Note that on edit the Contribution Date field in the payment section is blank, as opposed to when first creating it. But note also that entering a full payment does not crash.
civicrm_api3('Payment', 'create', Array) at /CRM/Event/Form/Participant.php:1095