问题:easypay支付插件,支付宝打款代码警告Invalid characters passed for attempted conversion, these have been ignored at
解决:
文件路径:vendor\javareact\easypay\src\Utils\AntCertificationUtil.php
$ssl[$i] = openssl_x509_parse($array[$i] . "-----END CERTIFICATE-----");
if (strpos($ssl[$i]['serialNumber'], '0x') === 0) {
$ssl[$i]['serialNumber'] = $this->hex2dec($ssl[$i]['serialNumber']);// old代码
$ssl[$i]['serialNumber'] = $this->hex2dec($ssl[$i]['serialNumberHex']);// new 代码
}