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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ 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).

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

### Changed

* Change `\UnzerSDK\Resources\Keypair` properties from `private` to `protected`, fixing them being silently omitted when the resource is serialized into a request payload.
* Add a null check for the payment type in `performCharge()` and `performSca()` in `\UnzerSDK\Unzer` to avoid a null pointer error.

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

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/Unzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Unzer implements
public const BASE_URL = 'api.unzer.com';
public const API_VERSION = ApiVersions::V1;
public const SDK_TYPE = 'UnzerPHP';
public const SDK_VERSION = '4.0.1';
public const SDK_VERSION = '4.0.2';

/** @var string $key */
private $key;
Expand Down
Loading