wpsc_get_transaction_html_output

Located in: purchase-log.helpers.php

Functions that call this hook: wpsc_get_transaction_html_output()

Arguments Accepted: $output, $notification

Version Introduced: 3.8.9

Description: Filter transaction result output.

Code in context:

[php highlight=”248″ firstline=”238″]

function wpsc_get_transaction_html_output( $purchase_log ) {

if ( ! is_object( $purchase_log ) )

$purchase_log = new WPSC_Purchase_Log( $purchase_log );

if ( ! $purchase_log->is_transaction_completed() && ! $purchase_log->is_order_received() )

return ”;

$notification = new WPSC_Purchase_Log_Customer_HTML_Notification( $purchase_log );

$output = $notification->get_html_message();

$output = apply_filters( ‘wpsc_get_transaction_html_output’, $output, $notification );

return $output;

}

[/php]