Currently, it populates the global variable
window.WCPAYLOAD with an object structure which, at a minimum, has a member
type which determines the structure.
The possible values for
checkoutare nearly identical and place the majority of the values in the
order-confirmationis similar, but places the majority of the values in the
You can view the source file
output-samples.php in the plugin directory to see samples of the structure that is output. Values and types should be self-explanatory, they are output directly using WooCommerce API calls.
No screenshots provided