compucorp / uk.co.compucorp.membershipextras

Membership Extras for CiviCRM
Other
5 stars 8 forks source link

IO-126: Hook to Change Receive Date of Second Instalment #324

Closed MiyaNoctem closed 3 years ago

MiyaNoctem commented 3 years ago

Overview

Direct debit extension needs to be able to change the receive date of the second instalment according to its specified business rules, and every instalment after that, so that the receive dates of each contribution match the available payment collection dates configured in Direct Debit.

Before

Only the receive date for the first instalment could be updated by other extensions.

After

Added hook when creating the rest of instalments in the payment plan so other extensions can update the receive dates as needed.