$paymentProcessorId : is the payment processor id that is used to pay the payment plan
$recurContributionId: Is the recurring contribution that got created after renewal, and that will be used for the renewed period.
$renewalContributions: Array of contributions (instalments) that got created after the autorenewal, where each element of the array contains: id -> The contribution id, total_amount -> the contribution amount, receive_date -> the contribution receive date (invoice date), currency -> the contribution currency.
This hook will be implemented later in the GoCardless extension to manage the payments in GoCardless after autorenewal.
Before
~
After
New hook is now dispatched after each payment plan that is linked to payment scheme autorenewal, the hook signature is:
where:
id
-> The contribution id,total_amount
-> the contribution amount,receive_date
-> the contribution receive date (invoice date),currency
-> the contribution currency.This hook will be implemented later in the GoCardless extension to manage the payments in GoCardless after autorenewal.