wpinv_complete_payment

Fires after an invoice has been marked as paid.

do_action( 'wpinv_complete_payment', int $invoice_id );

Parameters

$invoice_id

(int) The Invoice ID.

Examples

Simple example to handle paid invoice event.