wpsc_packing_slip

Located in: ajax-and-init.php

Functions that call this hook: wpsc_display_invoice()
Arguments Accepted: $purchase_id
Version Introduced: 3.8

Description: Used by WP-e-Commerce to output the packing slip.

Similar hooks:
wpsc_before_packing_slip – Called before the packing slip is output.
wpsc_packing_slip_extra_info – Used to insert data into the packing slip.

Code in context:
[php firstline=”516″ highlight=”518″]
function wpsc_display_invoice() {
$purchase_id = (int)$_GET[‘purchaselog_id’];
add_action(‘wpsc_packing_slip’, ‘wpsc_packing_slip’);
do_action(‘wpsc_before_packing_slip’, $purchase_id);
do_action(‘wpsc_packing_slip’, $purchase_id);
exit();
}
[/php]