Skip to content

Commit c2d7c72

Browse files
committed
[FIX] v3 support
1 parent 797c6e2 commit c2d7c72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Requests/LegacyVerifyNotifyIdRequest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ public function getData()
4141
* @param mixed $data The data to send
4242
*
4343
* @return ResponseInterface
44+
* @throws \Psr\Http\Client\Exception\NetworkException
45+
* @throws \Psr\Http\Client\Exception\RequestException
4446
*/
4547
public function sendData($data)
4648
{
4749
$url = sprintf('%s?%s', $this->getEndpoint(), http_build_query($data));
4850

49-
$response = $this->httpClient->get($url)->send()->getBody();
51+
$response = $this->httpClient->request('GET', $url, [])->getBody();
5052

5153
$data = [
5254
'result' => $response

0 commit comments

Comments
 (0)