Skip to content

Commit 4965a37

Browse files
authored
Merge pull request #6 from yandex-money/release/v1.1.0
Обновлен SDK до версии 1.6.4
2 parents e8781c9 + 7d9699e commit 4965a37

File tree

102 files changed

+7628
-671
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+7628
-671
lines changed

.gitignore

-2
This file was deleted.

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v1.1.0 от 10.07.2020
2+
* Обновлен SDK до версии 1.6.4
3+
14
### v1.0.7 от 18.04.2019
25
* Изменен лейбл для ставки НДС с 18% на 20%
36

@@ -8,7 +11,7 @@
811
* Добавлена отправка описания платежа в ЛК Яндекс.Кассы
912

1013
### v1.0.4 от 07.05.2018
11-
* Обновление sdk до версии 1.0.8
14+
* Обновлен SDK до версии 1.0.8
1215
* Добавлено кредитование.
1316

1417
### v1.0.3 от 11.04.2018

oscommerce-yamoney-module.zip

79.4 KB
Binary file not shown.

src/includes/modules/payment/yandex_money.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Yandex_Money
1818
const MODE_MONEY = 2;
1919
const MODE_BILLING = 3;
2020

21-
const MODULE_VERSION = '1.0.7';
21+
const MODULE_VERSION = '1.1.0';
2222
const INSTALLMENTS_MIN_AMOUNT = 3000;
2323

2424
public $code;

src/includes/modules/payment/yandex_money/PaymentMethod/KassaPaymentMethod.php

+4
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ private function getClient()
267267
$this->client = new Client();
268268
$this->client->setAuth($this->getShopId(), $this->getPassword());
269269
$this->client->setLogger($this->module);
270+
$version = explode(' ', PROJECT_VERSION);
271+
$userAgent = $this->client->getApiClient()->getUserAgent();
272+
$userAgent->setCms('osCommerce', array_pop($version));
273+
$userAgent->setModule('yandexmoney-oscommerce', \Yandex_Money::MODULE_VERSION);
270274
}
271275

272276
return $this->client;

0 commit comments

Comments
 (0)