onOrderMarkedAsPaid( )


An event that triggers when an offline order is marked as paid.

The onOrderMarkedAsPaid() event handler runs when an offline order is marked as paid. The received OrderMarkedAsPaidEvent object contains information about the offline order that was paid.

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

Method Declaration
Copy
Method Parameters
eventOrderMarkedAsPaidEventRequired

Information about the offline order that was paid and metadata for the event.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?