Skip to content

Commit da9c3fc

Browse files
authored
Merge pull request #91 from unzerdev/develop
Develop
2 parents 5459f90 + a6197e2 commit da9c3fc

File tree

323 files changed

+3168
-905
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+3168
-905
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,41 @@ All notable changes to this project will be documented in this file.
33

44
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).
55

6+
## [1.2.0.0](https://github.com/unzerdev/php-sdk/compare/1.1.5.0..1.2.0.0)
7+
### Added
8+
* Add payment type Paylater Invoice.
9+
* Add properties `companyType` and `owner` to `CompanyInfo` class.
10+
* Add `shippingType` property to `Address` class.
11+
* Allow setting the clientIp manually.
12+
* Allow setting `riskData` for authorize request.
13+
* Allow setting shipping data for charge request such as `deliveryTrackingId`, `deliveryService` and `returnTrackingId`.
14+
* Add new methods for `authorize` and `charge` transactions that use prepared objects only:
15+
* `Unzer::performAuthorization()`
16+
* `Unzer::performCharge()`
17+
* `Unzer::performChargeOnPayment()`
18+
* Add new methods to cancel payments done via paylater-invoice type:
19+
* `Unzer::cancelAuthorizedPayment()`
20+
* `Unzer::cancelChargedPayment()`
21+
* Add new methods to fetch cancellations of payment done via paylater-invoice type:
22+
* `Unzer::fetchPaymentReversal()`
23+
* `Unzer::fetchPaymentRefund()`
24+
* Add Paylater Invoice example including the function to capture an authorized payment.
25+
26+
### Changed
27+
* Remove redundant `currency` parameter from `Unzer::chargePayment()` method.
28+
* Add `geoLocation` property to all payment type classes.
29+
* Several minor improvements.
30+
* Add account information coming from PAPI to Authorize class.
31+
32+
### Deprecated
33+
* Classes
34+
* Mark `InvoiceSecured` as deprecated, will be replaced by `PaylaterInvoice`.
35+
* Methods
36+
* Mark `Unzer::authorize()` as deprecated. Please use `Unzer::performAuthorization()` instead.
37+
* Mark `Unzer::charge()` as deprecated. Please use `Unzer::performCharge()` instead.
38+
* Mark `Unzer::chargePayment()` as deprecated. Please use `Unzer::performChargeOnPayment()` instead.
39+
* Mark `Unzer::chargeAuthorization()` as deprecated. Please use `Unzer::performChargeOnPayment()` instead.
40+
641
## [1.1.5.0](https://github.com/unzerdev/php-sdk/compare/1.1.4.2..1.1.5.0)
742
### Added
843
* Add Support for basket `v2` resource.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ Please refer to the following documentation for installation instructions and us
3333
* Unzer Bank Transfer (PIS)
3434
* Unzer Direct Debit (secured) + Recurring
3535
* Unzer Instalment (secured)
36-
* Unzer Invoice (secured)
36+
* Unzer Invoice
37+
* Unzer Invoice Secured (deprecated)
3738
* WeChat Pay
3839

3940
## Supported features

examples/Alipay/Constants.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @link https://docs.unzer.com/
2020
*
21-
* @author Simon Gabriel <[email protected]>
22-
*
2321
* @package UnzerSDK\examples
2422
*/
2523

examples/Alipay/Controller.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
*
2020
* @link https://docs.unzer.com/
2121
*
22-
* @author Simon Gabriel <[email protected]>
23-
*
2422
* @package UnzerSDK\examples
2523
*/
2624

examples/Alipay/index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @link https://docs.unzer.com/
2020
*
21-
* @author Simon Gabriel <[email protected]>
22-
*
2321
* @package UnzerSDK\examples
2422
*/
2523

examples/Applepay/Constants.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @link https://docs.unzer.com/
2020
*
21-
* @author David Owusu <[email protected]>
22-
*
2321
* @package UnzerSDK\examples
2422
*/
2523

examples/Applepay/Controller.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
*
2020
* @link https://docs.unzer.com/
2121
*
22-
* @author David Owusu <[email protected]>
23-
*
2422
* @package UnzerSDK\examples
2523
*/
2624

examples/Applepay/index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @link https://docs.unzer.com/
2020
*
21-
* @author David Owusu <[email protected]>
22-
*
2321
* @package UnzerSDK\examples
2422
*/
2523

examples/Applepay/merchantvalidation.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
*
2020
* @link https://docs.unzer.com/
2121
*
22-
* @author David Owusu <[email protected]>
23-
*
2422
* @package UnzerSDK\examples
2523
*/
2624
/** Require the constants of this example */

examples/Bancontact/Constants.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @link https://docs.unzer.com/
2020
*
21-
* @author David Owusu <[email protected]>
22-
*
2321
* @package UnzerSDK\examples
2422
*/
2523

0 commit comments

Comments
 (0)