获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
已经解决了,APIv3密钥的问题,重置后用新的就能生成了
微信支付,php生成平台证书报错?使用的是下边的语句进行生成,参数都替换了 vendor/bin/CertificateDownloader.php -k ${apiV3key} -m ${mchId} -f ${mchPrivateKeyFilePath} -s ${mchSerialNo} -o ${outputFilePath} 返回的报错 Decrypting the input $ciphertext failed, please checking your $key and $iv whether or nor correct. #0 /www/wwwroot/xxx/vendor/wechatpay/wechatpay/bin/CertificateDownloader.php(63): WeChatPay\Crypto\AesGcm::decrypt('\n\x86\x9BHNrz"\xC0\xC4\xF8\xB3\xE2\x02\x1D...', 'Tuyu...', '18fe', 'certificate')... 网上搜到的回答是apiV3key错误,可apiV3密钥自生成后就没动过,会和这个有关吗
05-14