wpinv_recurring_record_payment

Fires after an recurring payment has been recorded.

do_action( 'wpinv_recurring_record_payment', int $invoice_id, int $parent_invoice_id, array $subscription_args );

Parameters

$invoice_id

(int) The Invoice ID.

$parent_invoice_id

(int) The Parent Invoice ID.

$subscription_args

(array) The array of subscription data.

Examples

Handle event of recurring payment recorded for the invoice.