onInvoiceCreated( )


An event that fires when an invoice is created.

The onInvoiceCreated() event handler runs when an invoice is created. The received Invoice object contains information about the invoice that was created.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventInvoiceRequired

The invoice that was created.

Did this help?