|
|
@@ -72,7 +72,6 @@ class PaymentService extends BaseService
|
|
|
$appid = isset($config['wxpay_appid']) ? $config['wxpay_appid'] : '';
|
|
|
$mpAppid = isset($config['wxpay_mp_appid']) ? $config['wxpay_mp_appid'] : '';
|
|
|
$minAppid = isset($config['wxpay_min_appid']) ? $config['wxpay_min_appid'] : '';
|
|
|
- $serialNo = isset($config['wxpay_serial_no']) ? $config['wxpay_serial_no'] : '';
|
|
|
$mchid = isset($config['wxpay_mchd']) ? $config['wxpay_mchd'] : '';
|
|
|
$secretV3Key = isset($config['wxpay_key_v3']) ? $config['wxpay_key_v3'] : '';
|
|
|
$secretV2Key = isset($config['wxpay_key_v2']) ? $config['wxpay_key_v2'] : '';
|
|
|
@@ -86,13 +85,6 @@ class PaymentService extends BaseService
|
|
|
// 支付参数
|
|
|
$payConfig = config('payment.wechat');
|
|
|
$payConfig['wechat']['default']['mch_id'] = $mchid;
|
|
|
- // 证书序列号方式验证
|
|
|
- if($serialNo){
|
|
|
- $payConfig['wechat']['default']['serial_no'] = $serialNo;
|
|
|
- unset($payConfig['wechat']['default']['wechat_public_cert_path']);
|
|
|
- }else{
|
|
|
- unset($payConfig['wechat']['default']['serial_no']);
|
|
|
- }
|
|
|
|
|
|
if ($payPt == 'min') {
|
|
|
// 小程序支付
|