微信支付v3对接

证书解析链接,查看证书序列号 https://myssl.com/cert_decode.html

平台证书获取

php版本工具 https://github.com/wechatpay-apiv3/wechatpay-php

composer 安装后,进入bin目录

执行命令

php CertificateDownloader.php -k ${apiV3key} -m ${mchId} -f ${mchPrivateKeyFilePath} -s ${mchSerialNo} -o ${outputFilePath}

mchSerialNo用上面提供的解析工具解析获得序列号

mchId 商户号

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注