小程序支付没有回调接口

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:16 649 0 全屏看文

AI助手支持GPT4.0

小程序支付没有回调接口

我的回调的url公网可以访问,回调url也没有带参数,防火墙是关闭状态,是post请求,协议是http,我的在支付回调的代码逻辑中加入了日志,只要访问这个回调的url就会记录日志,可现在的问题是,支付完成之后日志根本没写,而我自己访问这个回调的url是可以写日志的,这个情况怎么弄?


The URL of my callback can be accessed through the public network, and the callback URL has no parameters. The firewall is closed and it is a post request. The protocol is http. I have added a log to the code logic of the payment callback. As long as I access the callback URL, the log will be recorded. However, the problem is that after the payment is completed, the log is not written at all, but the URL of this callback can be written by myself Log, how to deal with this situation?

回答:

支付技术助手8:

你好,麻烦提供具体微信单号。这边帮你查一下。

飘零的枫叶:4200000598202007278241220010
支付技术助手8:经查询,提供的微信订单回调正常返回。具体数据已通过私信方式发送。麻烦查收。另外可以按照一下几点进行排查。请按照以下几点检查:
1,请检查回调url是否能正常公网访问
2,回调url是不能带参数的,请注意
2,是否开启了防火墙,如果开户了防火墙,请添加微信支付回调IP(微信支付回调通知出口IP列表: https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=23_2&index=2
3,是否正确使用post请求
4,回调url修改成http协议试试

-EOF-

AI助手支持GPT4.0