diff --git a/src/PaymentClient.php b/src/PaymentClient.php index 026eb73..8fff77f 100644 --- a/src/PaymentClient.php +++ b/src/PaymentClient.php @@ -59,7 +59,10 @@ public function __construct(array $context = null) }else{ $this->context = new ClientContext(); } - $this->httpClient = ClientFactory::buildCurlClient(); + $this->httpClient = ClientFactory::buildCurlClient( + $context['connection_time_out'] ?? 10, + $context['request_time_out'] ?? 100 + ); $this->interceptors = array(); }