Skip to content

Commit

Permalink
【6.x】修复微信支付V2服务商分账接口验签失败的BUG (#2809)
Browse files Browse the repository at this point in the history
* 【6.x】修复微信支付V2服务商分账接口验签失败的BUG

* 【6.x】去掉`unset($params['sign_type'])`
  • Loading branch information
Abbotton committed Apr 25, 2024
1 parent 5e66be1 commit 1e93434
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Pay/LegacySignature.php
Expand Up @@ -57,8 +57,6 @@ public function sign(array $params): array
$signType = 'md5';
}

unset($params['sign_type']);

$sign = call_user_func_array($signType, [urldecode(http_build_query($attributes))]);

if (! is_string($sign)) {
Expand Down

0 comments on commit 1e93434

Please sign in to comment.