微信支付 APIv3 的官方 PHP Library,同时也支持 APIv2
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
sunkangchina opened this issue 2 years ago · comments
平台证书这种绕,有没有可能直接获取到平台证书。 比如
$platformCertificateFilePath = 'file:///path/to/wechatpay/cert.pem';
换成
//定义平台证书保存路径如 /data/wx_platform.pem $platformCertificateFilePath = '/data/wx_platform.pem'; //获取平台证书并保存到$platformCertificateFilePath指定路径 PemUtil::getPlatFormCertFile($merchantId ....);