Skip to content

Commit 730dcba

Browse files
committed
fix method typo
1 parent db4e47e commit 730dcba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Shoket.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function makePaymentRequest(array $data): mixed
8686
*/
8787
public function verifyPaymentRequest(string $reference, array $data): mixed
8888
{
89-
$response = $this->client->request('POST', 'verify/' . $reference, ['json' => $data]);
89+
$response = $this->client->request('GET', 'verify/' . $reference, ['json' => $data]);
9090

9191
return json_decode($response->getBody()->getContents(), true);
9292
}

0 commit comments

Comments
 (0)