From 37e7eef369010709a595eacba0b17edf687603f9 Mon Sep 17 00:00:00 2001 From: Marcin Warzybok Date: Wed, 7 Feb 2024 10:54:04 +0100 Subject: [PATCH] SP-803 PHP SDK - Proxy --- src/BitPaySDK/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BitPaySDK/Client.php b/src/BitPaySDK/Client.php index a4d32c81..6d0587d5 100644 --- a/src/BitPaySDK/Client.php +++ b/src/BitPaySDK/Client.php @@ -111,7 +111,7 @@ public static function createWithFile(string $configFilePath): Client $config = $configData["BitPayConfiguration"]["EnvConfig"][$env]; $key = self::initKeys($config['PrivateKeyPath'], $config['PrivateKeySecret']); - $proxy = $config['proxy'] ?? null; + $proxy = $config['Proxy'] ?? null; $restCli = new RESTcli($env, $key, $proxy); $tokenCache = new Tokens($config['ApiTokens']['merchant'], $config['ApiTokens']['payout']);