yansongda / pay

可能是我用过的最优雅的 Alipay/WeChat/Douyin/Unipay/江苏银行 的支付 SDK 扩展包了
http://pay.yansongda.cn
MIT License
5.05k stars 1.03k forks source link

Missing Wechat Config -- [mch_public_cert_path] #853

Closed murodovCorp closed 1 year ago

murodovCorp commented 1 year ago

yansongda/pay:~3.5.0 -vvv guzzlehttp/guzzle:^7.0.1 hyperf/pimple:~2.2.0

Hi all. Please tell me am I doing something wrong or is this a bug? If I change Pay::get(ConfigInterface::class)->get('wechat') to config('pay.wechat') in the file yansongda/pay/src/Functions.php then everything works. Even if everything works after changing the file, when you try to go to wechat it gives the error: Invalid signature. Check that it matches the signature on open platform. To open the wechat application I use flutter fluwx.

image image image image image image

yansongda commented 1 year ago

检查你代码中配置文件