mirror of
https://github.com/anthonyaxenov/atol-online.git
synced 2024-12-22 12:54:53 +00:00
Установка адреса callback для тестового режима
This commit is contained in:
parent
7899daf421
commit
f2b4952aa5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user