<?php
/**
 * 财付通返回地址
 *
 * 
 * @copyright  Copyright (c) 2007-2012 ShopNC Inc. (http://www.shopnc.net)
 * @license    http://www.shopnc.net
 * @link       http://www.shopnc.net
 * @since      File available since Release v1.1
 */
/*//测试参数
$_GET['sp_billno'] = 'p2011082939810198';
$_GET['attach'] = '2';*/

if ($_GET['attach'] == '2'){//积分兑换
	$_GET['act']	= 'pointorder_payment';
}elseif ($_GET['attach'] == '3'){//预存款
	$_GET['act']	= 'predeposit_payment';
} else {
	$_GET['act']	= 'gold_payment';
}
$_GET['op']		= 'return';
//商户系统内部订单号
$_GET['out_trade_no'] = $_GET['sp_billno'];

require_once('../../../index.php');
?>