Open pakoneko opened 7 years ago
一样的,求解答
后来自己解决了 (2个月前),好像是overtrue滚回使用一个旧版本,然后做了一些代码的修改(路径相关)
我看了下代码,发现是 autoload 的问题,现在的 overtrue/wechat 没有包含 autoload.php 文件。需要运行 composer install
。我将提交一个 PR。
非常感谢
Hello guys,
Sorry we missed this issue.
@oirad will have a look to this one tomorrow.
Thanks
Waiting for updates, thank you guys!
Hello Caifag,
As confirmed by email, we are working on it. Our schedule is already full and we are trying to make room for it. We will update asap.
Thanks for your patience.
你好,@showermj,这个模块无法兼容overtrue/wechat 3.0 版本,因为改动太大,使用overtrue/wechat版本小于3.0可以解决这些问题。
@freedomgao 请问一下,使用2.1.41overtrue的话还需要改什么代码吗?
@caifagithub 不需要,后台配置好就行了。
@freedomgao 我用旧版overtrue还是出来了这个问题: Commerce wechatpay is not well-installed: Missing library "overtrue_wechat". For more information please see your status report. 是不是还要改什么代码?请问到底怎么运行这个模块?
@caifagithub 可不可以把你的overtrue目录及文件截个图看看?
@caifagithub 文件是正确的,检查一下commerce_wechatpay/commerce_wechatpay.module中commerce_wechatpay_init方法是否有改动,在这里引用libraries.
@freedomgao Overtrue\Wechat\Payment\Exception: [Wechat]FAIL: appid不存在 in Overtrue\Wechat\Payment\UnifiedOrder->getResponse() (line 205 of /home/admin/web/site.cn/public_html/sites/all/libraries/overtrue_wechat/src/Wechat/Payment/UnifiedOrder.php).
Could you help us to look at this problem?
overtrue lib 链接好了
@caifagithub 后台信息不对,appid需要的是公众平台的信息。
根据文档运行git命令并改名 安装最新版本的overtrue,drupal启用wechat pay 显示 Commerce wechatpay is not well-installed: Missing library "overtrue_wechat". 最新master版本的overtrue 的src下没有Wechat这个文件夹,请注意