Skip to content

Commit

Permalink
Merge pull request #35 from farayaz/34-fix-irankish-tsl-error
Browse files Browse the repository at this point in the history
fix: irankish tls error
  • Loading branch information
mehrdadx10 authored May 21, 2024
2 parents d8c78c3 + 67f9e0a commit 5467eec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Gateways/IranKish.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ public function verify(

private function _request(string $url, array $data)
{
$client = new Client;
$config = ['curl' => [CURLOPT_SSL_CIPHER_LIST => 'DEFAULT@SECLEVEL=1']];
$client = new Client($config);

try {
$response = $client->request(
Expand Down

0 comments on commit 5467eec

Please sign in to comment.