Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda committed Feb 15, 2020
1 parent a9c6ecc commit e2169c6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Gateways/Alipay/TransferGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ class TransferGateway implements GatewayInterface
*/
public function pay($endpoint, array $payload): Collection
{
$payload['method'] = 'alipay.fund.trans.toaccount.transfer';
$payload['biz_content'] = json_encode(array_merge(
json_decode($payload['biz_content'], true),
['product_code' => '']
));
$payload['method'] = 'alipay.fund.trans.uni.transfer';
$payload['sign'] = Support::generateSign($payload);

Events::dispatch(new Events\PayStarted('Alipay', 'Transfer', $endpoint, $payload));
Expand Down

0 comments on commit e2169c6

Please sign in to comment.