Hello all!
Main question: How can I return the value of a donated seat in an order confirmation template?
I'm working on updating our Order Confirmations to make use of the new HTML Templates. I've been able to figure out how to get all the information we want to display in the Order Confirmation so far, but I'm stuck when it comes to donated tickets. Currently in our order confirmations, if a patron donates a ticket, we return in the email the value of that donated ticket. But in the OrderConfirmationModel, if a ticket has been donated it just comes back as $0 value. I know I can get at the value of the ticket in the TicketsModel (there's a donated seats amount element) but I'm not sure how to pull the ticket information into my Order Confirmation template.
The other problem with this is that typically if an order has donated seats, the donated seats are the only line items in the order and thus the order doesn't actually have any tickets to "print". When that's the case, both testing in the REST API and the Tickets HTML Template, my order comes back with "Request has no seats to be ticketed". It seems I can't print just a header for an order if there's no other actual tickets to print. So trying to use the Tickets Model /the PrintOrderTickets method in the TXN/Orders resource in my order confirmation might not actually solve my problem here.
Any suggestions?
Thanks,Sara