wpinv_recurring_add_subscription_payment

Fires after a new invoice created for recurring payment.

do_action( 'wpinv_recurring_add_subscription_payment', WPInv_Invoice $invoice, WPInv_Invoice $parent_invoice, array $subscription_args );

Parameters

$invoice

(object) WPInv_Invoice object.

$parent_invoice

(object) WPInv_Invoice object of parent invoice.

$subscription_args

(array) The array of subscription data.

Examples

Handle event of new invoice created for recurring payment.