Sometimes it's handy to send customer data to your widget checkout, for example, if you have members who are already logged in to your website booking a ticket.
Ticket Tailor lets you:
Pre-fill data on the checkout when using a custom domain and a widget;
Pass metadata to the widget, which is stored against an order.
How to specify and pre-fill data on your widget checkout
On the widget URL you can specify and pre-fill data using code in this format:
#p[first_name]=Ticket&p[last_name]=Tailor&p[customFormElement_233]=Navy
Any data you specify will be assigned to the checkout form.
How to pass metadata to your widget
Use code in this format to pass on your data:
https://yourcustom.domain/checkout/view-event/id/99272/chk/a809/?modal_widget=true&widget=true&preset_data=1#p[first_name]=Ticket&p[last_name]=Tailor&p[meta_fave_colour]=Blue
This will store up to 6 fields of metadata. Your metadata will be retrievable via the API or can be seen on your orders page.