Skip to content

Commit

Permalink
Merge pull request #1 from bileto/api-version-upgrade
Browse files Browse the repository at this point in the history
Upgrade API to v1.5
  • Loading branch information
Michal Kočárek committed Dec 17, 2015
2 parents e60dad7 + b665b01 commit e9d25b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Message/InitPaymentRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
Expand Down
2 changes: 1 addition & 1 deletion src/Message/ProcessPaymentRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit e9d25b2

Please sign in to comment.