Confirms an order.
This function changes order status from INITIATED
, PENDING
, OFFLINE_PENDING
to PAID
.
Confirming orders with INITIATED
or PENDING
status triggers an email with the tickets to the buyer (and to additional guests, if provided).
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Event ID to which the order belongs.
An object representing the available options for confirming an order.