Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

私钥文件路径格式自动添加 file:// #264

Closed
delpan7 opened this issue Aug 3, 2019 · 5 comments
Closed

私钥文件路径格式自动添加 file:// #264

delpan7 opened this issue Aug 3, 2019 · 5 comments

Comments

@delpan7
Copy link

delpan7 commented Aug 3, 2019

vendor\yansongda\pay\src\Gateways\Alipay\Support.php
openssl_pkey_get_private 读取文件私钥时需要绝对路径且路径前要加上 file:// 才能读取成功
当支付宝配置公私钥为文件时希望程序上能加个自动判断是否绝对路径,和是否有file://,不然得调试半天

@yansongda
Copy link
Owner

后续考虑加上,感谢支持

@yansongda yansongda changed the title 验签问题 私钥文件路径格式自动添加 file:// Aug 12, 2019
@yansongda
Copy link
Owner

已更新

欢迎体验

@delpan7
Copy link
Author

delpan7 commented Sep 18, 2019

谢谢

@delpan7
Copy link
Author

delpan7 commented Sep 18, 2019

你好,private_key 是没问题了,但ali_public_key 没改

@yansongda
Copy link
Owner

升级到最新版即可

感谢支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants