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.
Information about the offline order that was paid and metadata for the event.