1 Star 0 Fork 97

linder / ectouch

forked from ectouch / ectouch
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
notify_url.php 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
wangshuai 提交于 2015-04-23 15:40 . 更新支付宝异步通知
<?php
/**
* ECTouch Open Source Project
* ============================================================================
* Copyright (c) 2012-2014 http://ectouch.cn All rights reserved.
* ----------------------------------------------------------------------------
* 文件名称:notify_url.php
* ----------------------------------------------------------------------------
* 手机支付宝支付异步通知处理
* ----------------------------------------------------------------------------
* Licensed ( http://www.ectouch.cn/docs/license.txt )
* ----------------------------------------------------------------------------
*/
/* 访问控制 */
define('IN_ECTOUCH', true);
if(!isset($_POST['sign'])){
header('location: ./index.php?'.$_SERVER['QUERY_STRING']);
exit;
}
define('CONTROLLER_NAME', 'Respond');
$params['type'] = 1;
$params['code'] = 'alipay_wap';
$code = base64_encode(serialize($params));
$code = str_replace(array('+', '/', '='), array('-', '_', ''), $code);
$_GET['code'] = $code;
/* 加载核心文件 */
require ('include/EcTouch.php');
1
https://gitee.com/linzaida/ectouch.git
git@gitee.com:linzaida/ectouch.git
linzaida
ectouch
ectouch
master

搜索帮助