From 4516fd1b11fe48244462fa417a2c18bbe67f62c8 Mon Sep 17 00:00:00 2001 From: Thijs de Jong Date: Tue, 17 Mar 2020 10:53:39 +0100 Subject: [PATCH 1/3] Use correct oauth token url for sandbox --- src/Model/Core/OauthAccessToken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Core/OauthAccessToken.php b/src/Model/Core/OauthAccessToken.php index 6cafefec..86ca2978 100644 --- a/src/Model/Core/OauthAccessToken.php +++ b/src/Model/Core/OauthAccessToken.php @@ -26,7 +26,7 @@ class OauthAccessToken extends BunqModel /** * Token constants. */ - const TOKEN_URI_FORMAT_SANDBOX = 'https://api.oauth.sandbox.bunq.com/v1/token?%s'; + const TOKEN_URI_FORMAT_SANDBOX = 'https://api-oauth.sandbox.bunq.com/v1/token?%s'; const TOKEN_URI_FORMAT_PRODUCTION = 'https://api.oauth.bunq.com/v1/token?%s'; /** From a74bd160e404f568c237609d63976fadfc1f7d78 Mon Sep 17 00:00:00 2001 From: Nick van de Groes Date: Fri, 3 Apr 2020 17:47:01 +0200 Subject: [PATCH 2/3] Regenerated changelog. --- CHANGELOG.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 760a4b85..de2f88b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## [Unreleased](https://github.com/bunq/sdk_php/tree/HEAD) + +[Full Changelog](https://github.com/bunq/sdk_php/compare/1.13.0...HEAD) + +**Closed issues:** + +- Decoding error when trying to create a CVC2 code [\#167](https://github.com/bunq/sdk_php/issues/167) + +**Merged pull requests:** + +- Use correct oauth token url for sandbox [\#193](https://github.com/bunq/sdk_php/pull/193) ([thijsdejong](https://github.com/thijsdejong)) + +## [1.13.0](https://github.com/bunq/sdk_php/tree/1.13.0) (2020-02-19) +[Full Changelog](https://github.com/bunq/sdk_php/compare/1.12.1...1.13.0) + ## [1.12.1](https://github.com/bunq/sdk_php/tree/1.12.1) (2019-09-16) [Full Changelog](https://github.com/bunq/sdk_php/compare/1.12.0...1.12.1) @@ -263,6 +278,7 @@ **Merged pull requests:** +- toJson\(\) fails on ApiContext of an user person due to session context [\#57](https://github.com/bunq/sdk_php/pull/57) ([DennisSnijder](https://github.com/DennisSnijder)) - Feature/fix draft payment object \#63 [\#66](https://github.com/bunq/sdk_php/pull/66) ([OGKevin](https://github.com/OGKevin)) - Feature/add missing cvc fields \#64 [\#65](https://github.com/bunq/sdk_php/pull/65) ([OGKevin](https://github.com/OGKevin)) @@ -273,10 +289,6 @@ - toJson\(\) fails on ApiContext of an user person due to session context [\#56](https://github.com/bunq/sdk_php/issues/56) -**Merged pull requests:** - -- toJson\(\) fails on ApiContext of an user person due to session context [\#57](https://github.com/bunq/sdk_php/pull/57) ([DennisSnijder](https://github.com/DennisSnijder)) - ## [0.12.0](https://github.com/bunq/sdk_php/tree/0.12.0) (2017-10-11) [Full Changelog](https://github.com/bunq/sdk_php/compare/0.11.0...0.12.0) @@ -320,7 +332,6 @@ - Allow to configure Guzzle options / use a proxy to ensure static IP address [\#5](https://github.com/bunq/sdk_php/issues/5) - Cleanup; add toJson and fromJson to ApiContext \[\#39\] [\#40](https://github.com/bunq/sdk_php/pull/40) ([dnl-blkv](https://github.com/dnl-blkv)) - \#33 bunq response [\#34](https://github.com/bunq/sdk_php/pull/34) ([dnl-blkv](https://github.com/dnl-blkv)) -- \#5 Allow setting a proxy [\#27](https://github.com/bunq/sdk_php/pull/27) ([qurben](https://github.com/qurben)) - Introduction of Grumphp [\#24](https://github.com/bunq/sdk_php/pull/24) ([cafferata](https://github.com/cafferata)) **Fixed bugs:** @@ -337,6 +348,7 @@ - Remove phpstan [\#28](https://github.com/bunq/sdk_php/issues/28) - Suggestion: use Objects instead of arrays [\#22](https://github.com/bunq/sdk_php/issues/22) +- \#5 Allow setting a proxy [\#27](https://github.com/bunq/sdk_php/pull/27) ([qurben](https://github.com/qurben)) - Changes the composer PHP requirement [\#19](https://github.com/bunq/sdk_php/pull/19) ([cafferata](https://github.com/cafferata)) - Removed the default PHPStorm constructor header\(s\) [\#18](https://github.com/bunq/sdk_php/pull/18) ([cafferata](https://github.com/cafferata)) - Add readme for tests. [\#16](https://github.com/bunq/sdk_php/pull/16) ([OGKevin](https://github.com/OGKevin)) From 66c67cff19a04e11aa41e3403f5a65d0ef2b8dc8 Mon Sep 17 00:00:00 2001 From: Nick van de Groes Date: Fri, 3 Apr 2020 17:48:31 +0200 Subject: [PATCH 3/3] Version bump to 1.13.1 --- src/Http/ApiClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/ApiClient.php b/src/Http/ApiClient.php index f74c394d..aaf2b9a6 100644 --- a/src/Http/ApiClient.php +++ b/src/Http/ApiClient.php @@ -86,7 +86,7 @@ class ApiClient /** * User agent constants. */ - const HEADER_USER_AGENT_BUNQ_SDK_DEFAULT = 'bunq-sdk-php/1.13.0'; + const HEADER_USER_AGENT_BUNQ_SDK_DEFAULT = 'bunq-sdk-php/1.13.1'; /** * Binary request constants.