Skip to content

Commit dec7fc9

Browse files
authored
Update PaymentClient.php
See intuit#28
1 parent d5408a4 commit dec7fc9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/PaymentClient.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ public function __construct(array $context = null)
5959
}else{
6060
$this->context = new ClientContext();
6161
}
62-
$this->httpClient = ClientFactory::buildCurlClient();
62+
$this->httpClient = ClientFactory::buildCurlClient(
63+
isset($context['connection_time_out']) ? $context['connection_time_out'] : 10,
64+
isset($context['request_time_out']) ? $context['request_time_out'] : 100,
65+
isset($context['is_verify']) ? $context['is_verify'] : false
66+
);
6367

6468
$this->interceptors = array();
6569
}

0 commit comments

Comments
 (0)