收藏
回答

微信支付回调通知不发送

商户号: 1533381761


扫码支付,采用的模式二(文档地址: https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=6_5


调用统一下单接口并支付成功。但未收到通知。


notify_url 设置的为 https://我司域名/callback/xxxx 的地址。


module.exports = async (ctx) => {
  console.log('request', new Date());
  // 路由入口处进行了日志打印
}


但是该路由上线之后,从来没有打印过任何东西,也就是微信方从来没有将通知发往我的服务器,而不是我这边解析失败了。


请问为什么会出现不发送的情况?


https 改 http 都不发送。

最后一次编辑于  07-16  (未经腾讯允许,不得转载)
邀请回答
复制链接收藏关注问题回答

7 个回答

  • 痛快科技
    痛快科技
    07-17

    你自己使用域名单独访问看看能不能调用成功

    07-17
    赞同
    回复 1
    • Willin Wang
      Willin Wang
      07-17
      07-17
      赞同
      回复
  • 微信支付技术助手1
    微信支付技术助手1
    07-17

    提供下单号,我这边查一下。

    07-17
    赞同
    回复 4
    • Willin Wang
      Willin Wang
      07-17

      4200000356201907166165740915


      4200000358201907161914239106


      4200000349201907164428743409


      4200000349201907161590819542


      4200000350201907161246961467

      07-17
      赞同
      回复
    • Willin Wang
      Willin Wang
      07-19

      装了新的排查工具,无法启动。 一次性检查结果如下:


      =======================
      MchId : nifxEw8OjSlt0p1e+XNftA==
      Flag : 1563507657258804178
      Version : 2.1.0
       
      =======================
      start to http trace ...
      Url: https://api.mch.weixin.qq.com/pay/orderquery
      RemoteIp:  [1/0]
      Total duration: 76.092444ms
      Lookup duration: 32.847396ms
      Connect duration: 2.995732ms
      App Connect duration: 34.148116ms
      Request duration: 6.061672ms
      --
      Send duration: 54.836µs
      Waiting duration: 5.966884ms
      Transfer duration: 39.952µs
       
      =======================
      UserIp: 129.211.147.165
      LocalDns: 117.144.243.119
       
      =======================
      dial tcp 101.226.129.200:80: i/o timeout
      dial tcp 117.144.241.106:80: i/o timeout
      dial tcp 182.254.12.36:80: i/o timeout
      dial tcp 183.232.119.220:80: i/o timeout
      WXPAY_IP    TIME(ms)
      140.207.69.101  2.525ms
      101.226.90.149  3.116ms
      182.254.11.243  3.319ms
      140.207.69.102  3.530ms
      182.254.44.159  3.567ms
      117.185.24.107  4.051ms
      182.254.10.62   4.133ms
      125.39.133.115  22.404ms
      182.254.38.39   28.815ms
      182.254.50.109  29.142ms
      123.151.79.109  29.731ms
      182.254.22.146  30.443ms
      111.30.144.109  31.309ms
      182.254.33.35   31.794ms
      123.126.122.46  32.273ms
      123.151.71.149  34.325ms
      183.3.235.18    35.569ms
      111.13.34.104   35.929ms
      220.249.243.200 36.670ms
      163.177.89.203  36.793ms
      183.232.95.110  39.423ms
      14.215.140.116  43.020ms
      203.205.151.244 409.220ms
      101.226.129.200 9999.999ms
      117.144.241.106 9999.999ms
      182.254.12.36   9999.999ms
      183.232.119.220 9999.999ms
       
      Update wxpay server list succ.


      07-19
      赞同
      回复
    • Willin Wang
      Willin Wang
      07-19回复Willin Wang

      ➜  wxpaymonitor grep "Monitor report succ" log/mchagent_log



      ➜  wxpaymonitor grep "Monitor report succ" log/mchagent_log



      ➜  wxpaymonitor grep "Monitor report succ" log/mchagent_log



      ➜  wxpaymonitor grep "Monitor report succ" log/mchagent_log



      ➜  wxpaymonitor ./service.sh status

      ubuntu   19221     1  0 11:40 ?        00:00:00 ./wxpaymonitor -d

      ➜  wxpaymonitor


      07-19
      赞同
      回复
    • Willin Wang
      Willin Wang
      07-25
      ???????人呢
      07-25
      赞同
      回复