Example #1
0
 public function NotifyProcess($data, &$msg)
 {
     Payment_Weixin::debug("NotifyProcess:" . json_encode($data));
     $notfiyOutput = array();
     if (!array_key_exists("transaction_id", $data)) {
         $msg = "输入参数不正确";
         return false;
     }
     // 查询订单,判断订单真实性
     if (!$this->Queryorder($data["transaction_id"])) {
         $msg = "订单查询失败";
         return false;
     }
     call_user_func($this->callback, $data);
     return true;
 }
Example #2
0
 /**
  * 微信异步调用
  */
 public function notifyAction()
 {
     Payment_Weixin::notify(array($this, 'callback'));
     return false;
 }