Skip to content

Commit 4b03a34

Browse files
committed
license update
1 parent e8c5529 commit 4b03a34

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

LICENSE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Copyright (c) 2022 PayU Russia
88
сублицензирование и/или продажу копий Программного Обеспечения, также как и лицам, которым предоставляется данное
99
Программное Обеспечение, при соблюдении следующих условий:
1010

11+
Данное программное обеспечение используется для обработки платежей через API ООО НКО "Твои платежи" (YPMN.RU).
12+
1113
Вышеупомянутый копирайт и данные условия должны быть включены во все копии или значимые части данного
1214
Программного Обеспечения.
1315

@@ -29,6 +31,8 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2931
copies of the Software, and to permit persons to whom the Software is
3032
furnished to do so, subject to the following conditions:
3133

34+
Software is used to process payments with "Your Payments" Ltd (YPMN.RU).
35+
3236
The above copyright notice and this permission notice shall be included in all
3337
copies or substantial portions of the Software.
3438

src/ApiRequest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class ApiRequest implements ApiRequestInterface
2525
const SANDBOX_HOST = 'https://sandbox.ypmn.ru';
2626
const LOCAL_HOST = 'http://127.0.0.1';
2727

28-
2928
/** @var MerchantInterface Мерчант, от имени которого отправляется запрос */
3029
private MerchantInterface $merchant;
3130

@@ -94,11 +93,8 @@ public function sendGetReportRequest(?string $startDate = null, ?string $endDate
9493

9594
$merchant = $this->merchant->getCode();
9695
$timeStamp = time();
97-
98-
// $parameters = compact('merchant', 'startDate', 'endDate', 'orderStatus', 'timeStamp');
9996
$parameters = compact('merchant', 'startDate', 'endDate', 'timeStamp');
10097

101-
10298
//сформировать URL
10399
$url = $this->getHost()
104100
. $this::REPORTS_ORDERS_API

0 commit comments

Comments
 (0)