There was an error while loading. Please reload this page.
1 parent db4e47e commit 730dcbaCopy full SHA for 730dcba
1 file changed
src/Shoket.php
@@ -86,7 +86,7 @@ public function makePaymentRequest(array $data): mixed
86
*/
87
public function verifyPaymentRequest(string $reference, array $data): mixed
88
{
89
- $response = $this->client->request('POST', 'verify/' . $reference, ['json' => $data]);
+ $response = $this->client->request('GET', 'verify/' . $reference, ['json' => $data]);
90
91
return json_decode($response->getBody()->getContents(), true);
92
}
0 commit comments