|
@@ -28,7 +28,7 @@ class Index
|
|
|
$merchantCertificateSerial = config('wxconfig.serial');
|
|
|
|
|
|
// 从本地文件中加载「微信支付平台证书」,用来验证微信支付应答的签名
|
|
|
- $platformCertificateFilePath = file_get_contents(root_path('/extend/payment/cert') . 'apiclient_cert.pem');
|
|
|
+ $platformCertificateFilePath = file_get_contents(root_path('/extend/payment/cert') . 'cert.pem');
|
|
|
$platformPublicKeyInstance = Rsa::from($platformCertificateFilePath, Rsa::KEY_TYPE_PUBLIC);
|
|
|
|
|
|
// 从「微信支付平台证书」中获取「证书序列号」
|