From f2b4952aa5d532e501dc395047759ca6cbb01187 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sat, 30 May 2020 01:57:38 +0800 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=B0=D0=B4=D1=80=D0=B5=D1=81=D0=B0=20callback?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE=20=D1=80=D0=B5=D0=B6=D0=B8=D0=BC=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AtolOnline/Api/Kkt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AtolOnline/Api/Kkt.php b/src/AtolOnline/Api/Kkt.php index ec2d872..9d2b32a 100644 --- a/src/AtolOnline/Api/Kkt.php +++ b/src/AtolOnline/Api/Kkt.php @@ -172,7 +172,7 @@ class Kkt extends Client */ public function setCallbackUrl(string $url) { - $this->kkt_config['prod']['callback_url'] = $url; + $this->kkt_config[$this->isTestMode() ? 'test' : 'prod']['callback_url'] = $url; return $this; }