Skip to content

Commit

Permalink
Update PaymentClient.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mavelo-llc authored Oct 11, 2024
1 parent d5408a4 commit dec7fc9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/PaymentClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ public function __construct(array $context = null)
}else{
$this->context = new ClientContext();
}
$this->httpClient = ClientFactory::buildCurlClient();
$this->httpClient = ClientFactory::buildCurlClient(
isset($context['connection_time_out']) ? $context['connection_time_out'] : 10,
isset($context['request_time_out']) ? $context['request_time_out'] : 100,
isset($context['is_verify']) ? $context['is_verify'] : false
);

$this->interceptors = array();
}
Expand Down

0 comments on commit dec7fc9

Please sign in to comment.