首頁  >  文章  >  後端開發  >  微信掃碼支付模式二回呼怎麼處理?

微信掃碼支付模式二回呼怎麼處理?

WBOY
WBOY原創
2016-08-04 09:20:581663瀏覽

ini_set('date.timezone','亞洲/上海');
error_reporting(E_ERROR);

require_once "../lib/WxPay.Api.php";
require_once '../lib/WxPay.Notify.php';
require_once 'log.php';

//初始化日誌
$logHandler= new CLogFileHandler("../logs/".date('Y-m-d').'.log');
$log = Log::Init($logHandler, 15);

類 PayNotifyCallBack 擴充了 WxPayNotify
{

雷雷

}

Log::DEBUG("開始通知");
$notify = new PayNotifyCallBack();
$notify->Handle(false);
?>

回覆內容:

ini_set('date.timezone','亞洲/上海');
error_reporting(E_ERROR);

require_once "../lib/WxPay.Api.php";
require_once '../lib/WxPay.Notify.php';
require_once 'log.php';

//初始化日誌
$logHandler= new CLogFileHandler("../logs/".date('Y-m-d').'.log');
$log = Log::Init($logHandler, 15);

類 PayNotifyCallBack 擴充了 WxPayNotify
{

雷雷

}

Log::DEBUG("開始通知");
$notify = new PayNotifyCallBack();
$notify->Handle(false);
?>

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn