An event that fires when an invoice is paid.
The onInvoicePaid()
event handler runs when an invoice is paid. The received Invoice
object contains information about the invoice that was paid.
Note: Backend events don't work when previewing your site.
The invoice that was paid.