Skip to content

Commit

Permalink
Licence changed
Browse files Browse the repository at this point in the history
  • Loading branch information
regdos committed Nov 24, 2022
1 parent d0b9e01 commit 9c2226d
Show file tree
Hide file tree
Showing 38 changed files with 229 additions and 239 deletions.
356 changes: 191 additions & 165 deletions LICENSE.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "openpayu/openpayu",
"type": "library",
"license": "LGPL-3.0",
"license": "apache-2.0",
"description": "OpenPayU PHP Library",
"version": "2.3.4",
"extra": [
Expand Down
5 changes: 2 additions & 3 deletions examples/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand All @@ -18,7 +17,7 @@

//set Oauth Client Id and Oauth Client Secret (from merchant admin panel)
OpenPayU_Configuration::setOauthClientId('145227'); // OAuth protocol - client_id / POS ID (pos_id)
OpenPayU_Configuration::setOauthClientSecret('12f071174cb7eb79d4aac5bc2f07563f'); // Key (MD5) / OAuth protocol - client_secret
OpenPayU_Configuration::setOauthClientSecret('12f071174cb7eb79d4aac5bc2f07563f'); // Key (MD5) / OAuth protocol - client_secret

/* path for example files*/
$dir = explode(basename(dirname(__FILE__)) . '/', $_SERVER['SCRIPT_NAME']);
Expand Down
3 changes: 1 addition & 2 deletions examples/layout/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/layout/success.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/order/OrderCancel.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/order/OrderCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/order/OrderForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/order/OrderNotify.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/order/OrderRetrieve.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/order/OrderStatusUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/order/OrderTransactionRetrieve.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2018 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/refund/RefundCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/retrieve/RetrievePaymethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/shops/Get.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions examples/v2/token/TokenDelete.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Examples
*
* @copyright Copyright (c) 2011-2017 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c)
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2017 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c)
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/HttpCurl.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/OpenPayU.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/OpenPayUException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/OpenPayuOrderStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/ResultError.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/v2/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2018 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/v2/Refund.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/v2/Retrieve.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/v2/Shop.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/OpenPayU/v2/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2017 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c)
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions lib/openpayu.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
* OpenPayU Standard Library
* ver. 2.1.3
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions tests/TestHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/AuthType/AuthType_BasicTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/AuthType/AuthType_OauthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/OpenPayUTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/OpenPayU_ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/OpenPayU_UtilTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/v2/OpenPayU_OrderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* @copyright Copyright (c) PayU
* http://www.payu.com
* http://developers.payu.com
*/
Expand Down

0 comments on commit 9c2226d

Please sign in to comment.