Skip to content

Commit 40adefe

Browse files
authored
Release 3.8.0: - Update sdk version. - Update changelog. - Minor phpdoc changes.
1 parent 6f17db4 commit 40adefe

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres
66
to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [3.8.0](https://github.com/unzerdev/php-sdk/compare/3.7.0..3.8.0)
9+
10+
Support for Paypage v2 is added to SDK.
11+
12+
### Added
13+
14+
* Added athorization for Paypage v2.
15+
* Added `\UnzerSDK\Unzer::createPaypage` method to create Paypage v2.
16+
* Added `\UnzerSDK\Unzer::fetchPaypageV2` to fetch payment status information for the given Paypage v2.
17+
818
## [3.7.0](https://github.com/unzerdev/php-sdk/compare/3.6.0..3.7.0)
919

1020
Support for Click To Pay payment method is added to SDK.

src/Unzer.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Unzer implements
5757
public const BASE_URL = 'api.unzer.com';
5858
public const API_VERSION = 'v1';
5959
public const SDK_TYPE = 'UnzerPHP';
60-
public const SDK_VERSION = '3.7.0';
60+
public const SDK_VERSION = '3.8.0';
6161

6262
/** @var string $key */
6363
private $key;
@@ -957,7 +957,8 @@ public function createPaypage(PaypageV2 $paypage): PaypageV2
957957
}
958958

959959
/**
960-
* Fetch paypage v2 resource.
960+
* Fetch list of associated payments for the given payment page. Use `\UnzerSDK\Resources\V2\Paypage::getPayments`
961+
* to get the list of payments.
961962
*/
962963
public function fetchPaypageV2($paypage): PaypageV2
963964
{

0 commit comments

Comments
 (0)