mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-05 13:48:53 +08:00
fix wechat redpack missing sign
This commit is contained in:
parent
2901572d69
commit
1160d0ee42
@ -24,6 +24,8 @@ class GroupRedpackGateway extends Gateway
|
||||
|
||||
unset($payload['appid'], $payload['trade_type'], $payload['notify_url'], $payload['spbill_create_ip']);
|
||||
|
||||
$payload['sign'] = Support::generateSign($payload, $this->config->get('key'));
|
||||
|
||||
Log::debug('Paying A Groupredpack Order:', [$endpoint, $payload]);
|
||||
|
||||
return Support::requestApi(
|
||||
|
@ -25,6 +25,8 @@ class RedpackGateway extends Gateway
|
||||
|
||||
unset($payload['appid'], $payload['trade_type'], $payload['notify_url'], $payload['spbill_create_ip']);
|
||||
|
||||
$payload['sign'] = Support::generateSign($payload, $this->config->get('key'));
|
||||
|
||||
Log::debug('Paying A Redpack Order:', [$endpoint, $payload]);
|
||||
|
||||
return Support::requestApi(
|
||||
|
Loading…
Reference in New Issue
Block a user