Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
releas-3] Release 3.8.0:
- Update sdk version.
- Update changelog.
- Minor phpdoc changes.
  • Loading branch information
Ryouzanpaku committed Aug 28, 2024
1 parent 6f17db4 commit c1fb663
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres
to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [3.8.0](https://github.com/unzerdev/php-sdk/compare/3.7.0..3.8.0)

Support for Paypage v2 is added to SDK.

### Added

* Added athorization for Paypage v2.
* Added `\UnzerSDK\Unzer::createPaypage` method to create Paypage v2.
* Added `\UnzerSDK\Unzer::fetchPaypageV2` to fetch payment status information for the given Paypage v2.

## [3.7.0](https://github.com/unzerdev/php-sdk/compare/3.6.0..3.7.0)

Support for Click To Pay payment method is added to SDK.
Expand Down
5 changes: 3 additions & 2 deletions src/Unzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Unzer implements
public const BASE_URL = 'api.unzer.com';
public const API_VERSION = 'v1';
public const SDK_TYPE = 'UnzerPHP';
public const SDK_VERSION = '3.7.0';
public const SDK_VERSION = '3.8.0';

/** @var string $key */
private $key;
Expand Down Expand Up @@ -957,7 +957,8 @@ public function createPaypage(PaypageV2 $paypage): PaypageV2
}

/**
* Fetch paypage v2 resource.
* Fetch list of associated payments for the given payment page. Use `\UnzerSDK\Resources\V2\Paypage::getPayments`
* to get the list of payments.
*/
public function fetchPaypageV2($paypage): PaypageV2
{
Expand Down

0 comments on commit c1fb663

Please sign in to comment.