Repository navigation
Replies: 2 comments 2 replies
|
You may file the issue something like the follow: 'platform_certs' => [
// 使用 Key/Value 结构, key 为微信支付公钥 ID(PUB_KEY_ID 开头),value 为微信支付公钥文件绝对路径
"{$pubKeyId}" => '/path/to/wechatpay/pubkey.pem',
], |
2 replies
|
不好意思,确实是路径问题,打扰了 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
ErrorException: openssl_public_encrypt(): key parameter is not a valid public key in /Users/liangxin/Project/PHP/milk-device/vendor/w7corp/easywechat/src/Pay/Utils.php:167
platform_certs已经设置了pub_key_id,第二个参数也测试了传pub_key_id,一样报错
调用支付没有问题
All reactions