<?

/**
 *
 * INDEXU
 * Copyright(C), Nicecoder, 2000-2006, All Rights Reserved.
 *
 * INDEXU(tm) is protected by Indonesia and International copyright laws.
 * Unauthorized use or distribution of INDEXU(tm) is strictly prohibited,
 * violators will be prosecuted. To obtain a license for using INDEXU(tm),
 * please register at Nicecoder home page at http://www.nicecoder.com
 *
 * Author:
 *    Dody Rachmat Wicaksono (dody@nicecoder.com)
 *    M. Zuber (zubby@nicecoder.com)
 *
 */

  if (!defined('2CO_RETURN')) {
    exit;
  }

  // get the custom value
  $raw            = explode('&', urldecode($_POST['custom']));
  $val_username   = $raw[0];
  $val_type       = $raw[1];
  $val_id         = $raw[2];

  // mark invoice as paid
  MarkAsPaid($val_id);

?>
