Hook: afterCheckout

Unmittelbar nachdem eine Bestellung ausgeführt/beendet wurde

/*
 * -- Registration: --
 * $GLOBALS['MERCONIS_HOOKS']['afterCheckout'][] = array('myMerconisHookClass', 'myAfterCheckout');
 *
 * -- Invocation: --
 * Right after the order has been finished.
 *
 * -- Parameters: --
 *	1. $orderID - the database id of the currently finished order
 *	2. $order - an array containing the order details
 *
 * -- Return value: --
 * none
 *
 * -- Objective: --
 * e.g. exchange with external systems (inventory control systems etc.)
 *
 */

public function myAfterCheckout($orderID, $order) {

	/*
     * Custom code
	 */
	 
}