Changeset 2681704
- Timestamp:
- 02/19/2022 08:20:05 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xunhu-wechat-payment-for-woocommerce/trunk/class-wechat-wc-payment-gateway.php
r2464659 r2681704 92 92 } 93 93 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']); 95 95 } 96 96 return array( … … 354 354 curl_setopt($ch, CURLOPT_POST, 1); 355 355 curl_setopt($ch, CURLOPT_URL, $url); 356 curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,FALSE); 357 curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,FALSE); 356 358 curl_setopt($ch, CURLOPT_POSTFIELDS, $jsonStr); 357 359 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); … … 469 471 'default'=>'2ddfa6b4325542979d55f90ffe0216bd', 470 472 'section' => 'default', 471 'description'=>'Mchid申请地址:https:// pay.xunhuweb.com'473 'description'=>'Mchid申请地址:https://admin.xunhuweb.com/register/808c030d17324a58a782065197952259' 472 474 ), 473 475 'private_key' => array(
Note: See TracChangeset
for help on using the changeset viewer.