We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba59e0 commit 59fe151Copy full SHA for 59fe151
src/PayPalClient.php
@@ -27,7 +27,11 @@ class PayPalClient implements HttpClient
27
public function __construct(Environment $environment)
28
{
29
$this->environment = $environment;
30
- $this->client = new Client(['base_uri' => $environment->baseUrl()]);
+ $this->client = new Client([
31
+ 'base_uri' => $environment->baseUrl(),
32
+ 'timeout' => 30,
33
+ 'connect_timeout' => 10,
34
+ ]);
35
$this->access_token = null;
36
}
37
0 commit comments