Plugin Directory

Changeset 2681704


Ignore:
Timestamp:
02/19/2022 08:20:05 AM (4 years ago)
Author:
xunhuweb
Message:

update url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xunhu-wechat-payment-for-woocommerce/trunk/class-wechat-wc-payment-gateway.php

    r2464659 r2681704  
    9292             }
    9393             if($result['return_code']!='SUCCESS'){
    94                  throw new Exception($result['err_msg'],$result['err_code']);
     94                 throw new Exception($result['err_msg'],(int)$result['err_code']);
    9595             }
    9696            return array(
     
    354354        curl_setopt($ch, CURLOPT_POST, 1);
    355355        curl_setopt($ch, CURLOPT_URL, $url);
     356        curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,FALSE);
     357        curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,FALSE);
    356358        curl_setopt($ch, CURLOPT_POSTFIELDS, $jsonStr);
    357359        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
     
    469471                         'default'=>'2ddfa6b4325542979d55f90ffe0216bd',
    470472                        'section'     => 'default',
    471                         'description'=>'Mchid申请地址:https://pay.xunhuweb.com'
     473                        'description'=>'Mchid申请地址:https://admin.xunhuweb.com/register/808c030d17324a58a782065197952259'
    472474                ),
    473475                'private_key' => array(
Note: See TracChangeset for help on using the changeset viewer.