diff --git a/src/Message/InitPaymentRequest.php b/src/Message/InitPaymentRequest.php index 6638abc..d0bd475 100644 --- a/src/Message/InitPaymentRequest.php +++ b/src/Message/InitPaymentRequest.php @@ -136,7 +136,7 @@ public function sendData($data) { $httpRequest = $this->httpClient->createRequest( RequestInterface::POST, - 'https://iapi.iplatebnibrana.csob.cz/api/v1/payment/init', + 'https://iapi.iplatebnibrana.csob.cz/api/v1.5/payment/init', ['Content-Type' => 'application/json'], json_encode($data) ); diff --git a/src/Message/ProcessPaymentRequest.php b/src/Message/ProcessPaymentRequest.php index ac4acbc..431eb63 100644 --- a/src/Message/ProcessPaymentRequest.php +++ b/src/Message/ProcessPaymentRequest.php @@ -57,7 +57,7 @@ public function sendData($data) private function createUri() { - $uri = 'https://iapi.iplatebnibrana.csob.cz/api/v1/payment/process'; + $uri = 'https://iapi.iplatebnibrana.csob.cz/api/v1.5/payment/process'; $signator = $this->getSignator(); $signature = $signator->sign($this->getParameters(), ['merchantId', 'payId', 'dttm']);