视频认证会多久 通过
扫码支付升级php7之后,notify.php可以调用,单不运行NotifyProc,请问什么情况?//重写回调处理函数 public function NotifyProcess($data, &$msg) { Log::DEBUG("NotifyProcess\r\n"); $notfiyOutput = array(); Log::DEBUG("call back:" . json_encode($data) . "\r\n"); if(!array_key_exists("attach", $data) || !array_key_exists("out_trade_no", $data) || !array_key_exists("total_fee", $data) || !array_key_exists("transaction_id", $data)) { $msg = "输入参数不正确"; return false; } Log::DEBUG("输入参数ok!\r\n"); $out_trade_no = $data["out_trade_no"]; $order = $data["transaction_id"]; $total_fee = $data["total_fee"]/100; //查询订单,判断订单真实性 if(!$this->Queryorder($data["transaction_id"])) { $msg = "订单查询失败"; return false; } Log::DEBUG("订单查询ok!\r\n"); //支付成功 // $resule = $this->handel_order($out_trade_no, $total_fee, 'wxpay', 'unkown', $order); Log::DEBUG("充电ok!\r\n"); return true; } } $notify = new PayNotifyCallBack(); $notify->Handle(false);
2019-10-20