交流专区
服务市场
微信学堂
文档
小程序
  • 常用主页

    小程序

    小游戏

    企业微信

    微信支付

  • 服务市场
    微信学堂
    文档
登录
切换主页

暂无个人介绍

关注私信

正在关注

0

关注者

0

获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
文章 回答 21提问 收藏 关注问题
  • substrsubstr

    扫码支付升级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-15
123
关闭

选择需要上架的开放服务

  • 模板开发

    针对行业、场景的小程序代开发服务,帮助企业快速搭建小程序

    上架
  • 插件

    提供可被小程序直接使用、丰富小程序能力的功能模块

    上架
  • 小商店服务

    为小商店商家提供更多的能力,帮助商家经营好小商店

    上架
关闭

案例类型

  • 小程序
  • 插件
  • 关于腾讯
  • 运营规范
  • 文档中心
  • 辟谣中心
  • 客服中心
  • Copyright © 2012-2025 Tencent. All Rights Reserved.