Initial code for ticket creation in checkout confirmation page.