Comments (6)
请查看 Apache/nginx 的访问日志确保微信服务器有异步通知数据请求过来。
请告知您使用的包的版本号。
请贴代码。
from pay.
nginx日志有看到这条:[27/Dec/2017:17:24:35 +0800] "POST /m/wechat_notify HTTP/1.1" 419 1530 "-" "Mozilla/4.0",用的是2.x版本的。notify里面处理的是写入数据到数据库,写入数据的代码测试是没问题的。
from pay.
既然您看到了 nginx 日志,那您应该知道问题所在了吧~
HTTP 419
感谢您的支持
from pay.
用的是您提供的实例代码,支付没问题,就是没搞明白这个 认证超时 问题出在哪
from pay.
检查下是否用了框架?laravel 框架有验证 csrf。
麻烦请自行检查下吧,整个包没有任何关于认证的代码。看看是否与框架集成的问题。
感谢支持!
from pay.
好的 谢谢您
from pay.
Related Issues (20)
- v3版本报错Config Error HOT 1
- 微信下载账单问题 HOT 3
- change: shortcut 完整标明各个插件,不使用 commonPlugin
- change(internal): 按 场景/api 对各个插件进行分类
- change(breaking): 统一查询为 query
- release: v3.6.0
- 新增需求:银联条码支付 HOT 2
- change(internal): error constant 命名规则统一
- feat: 新增 InvalidSignException
- change(internal): DirectionInterface 方法由 `parse` 改为 `guide`
- change: 查询API方法由 `find` 改为 `query`,同时参数只支持 array
- change(internal): shortcut 从 plugin 文件夹独立出来
- change: close 的 API 参数只支持 array,不再支持 string
- change: cancel 的 API 参数只支持 array,不再支持 string
- change: 手机网站支付快捷方式由 `wap` 改为 `h5`
- 唤起支付和下载验签都会报同样的问题decrypt_wechat_resource_aes_256_gcm HOT 4
- feat: 增加小程序虚拟支付签名、用户签名方法
- 希望添加通联支付的支持
- v3版本没有\Psr\EventDispatcher\EventDispatcherInterface这个类,后提示config error HOT 3
- feat: 增加 http factory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pay.