Skip to content

Commit

Permalink
refactor: params are received directly
Browse files Browse the repository at this point in the history
  • Loading branch information
gasspper committed Aug 13, 2024
1 parent ef3cf69 commit f52c5ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin/src/WebpayplusTransbankSdk.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,8 @@ private function detectFlow(array $params): string
return self::WEBPAY_ERROR_FLOW;
}

public function handleRequestFromTbkReturn(array $requestData)
public function handleRequestFromTbkReturn(array $params)
{
$params = $requestData['params'] ?? null;
$tokenWs = $params['token_ws'] ?? null;
$tbkToken = $params['TBK_TOKEN'] ?? null;
$sessionId = $params['TBK_ID_SESION'] ?? null;
Expand Down

0 comments on commit f52c5ca

Please sign in to comment.