Hi Guys,
While I understand that modifying the ticket email with details from the related order $tickets->order_id is outside the scope of your support, I wonder if you can help me with this specific query.
When I mark an order as completed, the Ticket email is automatically sent, however my custom function which uses the value of $tickets->order_id is null.
However, if I then “resend” the tickets, from the order admin, the value of $tickets->order_id resolves correctly.
Any suggestion on the difference of the two processes that may cause this?