Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 2.4.0
* Changing min PHP version to 7.4
* Changing comparison function in verifySignature
* Removing persistentId ("PayU") from OauthCacheMemcached (@webdudi)
* Fixing #135 - remove suppress the errors by `@`

**BREAKING CHANGES**

Due to the addition of type for arguments and return values in the [OauthCacheInterface.php](lib/OpenPayU/Oauth/Cache/OauthCacheInterface.php) interface, all own implementations of this interface must be updated.

## 2.3.6
* define CURL_SSLVERSION_TLSv1_2 missing for rare server configurations
* Retrieving order refunds #130 (Peter Knut)
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**The OpenPayU PHP library provides integration access to the REST API 2.1**

## Dependencies
PHP >= 5.3 with extensions [cURL][ext1] and [hash][ext2]
PHP >= 7.4 with extensions [cURL](http://php.net/manual/en/book.curl.php),[hash](http://php.net/manual/en/book.hash.php) and [json](http://php.net/manual/en/book.json.php) enabled.

## Documentation

Expand Down Expand Up @@ -32,7 +32,7 @@ To install with Composer, simply add the requirement to your composer.json file:
```php
{
"require" : {
"openpayu/openpayu" : "2.3.*"
"openpayu/openpayu" : "2.4.*"
}
}
```
Expand Down Expand Up @@ -340,12 +340,10 @@ Remember: All keys in "order array" must be in lowercase.


<!--external links:-->
[ext1]: http://php.net/manual/en/book.curl.php
[ext2]: http://php.net/manual/en/book.hash.php
[ext3]: http://developers.payu.com/en/
[ext4]: http://developers.payu.com/pl/
[ext5]: https://www.payu.pl/en/commercial-offer
[ext6]: https://secure.snd.payu.com/boarding/#/form&pk_campaign=Plugin-Github&pk_kwd=SDK
[ext3]: https://developers.payu.com/europe/
[ext4]: https://developers.payu.com/europe/pl/
[ext5]: https://poland.payu.com/commercial-offer/
[ext6]: https://secure.snd.payu.com/boarding/#/registerSandbox/

<!--images:-->
[img0]: readme_images/pos_configuration.png
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "library",
"license": "apache-2.0",
"description": "OpenPayU PHP Library",
"version": "2.3.6",
"version": "2.4.0",
"extra": [
{
"engine": "PHP SDK"
Expand Down
2 changes: 1 addition & 1 deletion lib/OpenPayU/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class OpenPayU_Configuration

const API_VERSION = '2.1';
const COMPOSER_JSON = "/composer.json";
const DEFAULT_SDK_VERSION = 'PHP SDK 2.3.6';
const DEFAULT_SDK_VERSION = 'PHP SDK 2.4.0';
const OAUTH_CONTEXT = 'pl/standard/user/oauth/authorize';

/**
Expand Down
Binary file modified readme_images/pos_configuration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/unit/OpenPayU_ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class OpenPayU_ConfigurationTest extends TestCase
{

const PHP_SDK_VERSION = 'PHP SDK 2.3.6';
const PHP_SDK_VERSION = 'PHP SDK 2.4.0';
const API_VERSION = '2.1';
const POS_ID = 'PosId';
const SIGNATURE_KEY = 'SignatureKey';
Expand Down
Loading