Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
dcc0d0a
[CC-3628] [CC-3628] Remove Sofort and Giropay payment types from PHP SDK
Ryouzanpaku May 11, 2026
fe84573
[CC-3628] [CC-777][CC-3628][CC-3663] Remove deprecated payment types,…
Ryouzanpaku May 11, 2026
1052e42
[CC-3628] [CC-3663] Fix deprecated calls in integration tests and upd…
Ryouzanpaku May 11, 2026
c7e908a
[CC-3628] [CC-3663] Remove Invoice/InvoiceSecured tests and setKey() …
Ryouzanpaku May 11, 2026
9ee7e6b
[CC-3628] [CC-3663] Replace authorize() with performAuthorization() i…
Ryouzanpaku May 11, 2026
3032247
[CC-3628] [CC-3663] Fix CardTest: null guard on setRecurrenceType, re…
Ryouzanpaku May 11, 2026
e78f433
[CC-3628] [CC-3663] Fix remaining integration test failures from report
Ryouzanpaku May 11, 2026
de0e4c0
[CC-3628] [CC-3663] Restore totalValueGross as second Basket construc…
Ryouzanpaku May 11, 2026
c0a85c9
[CC-3628] Remove nullable from Basket constructor totalValueGross par…
Ryouzanpaku May 11, 2026
bd2e401
[CC-3628] Remove public keys from invalidKeysDataProvider — public ke…
Ryouzanpaku May 11, 2026
e07cd38
[CC-3628] Replace deprecated methods and fix test/source issues
Ryouzanpaku May 12, 2026
c761939
[CC-3628] Deactivate "fail_on_failure" for integration tests. Report …
Ryouzanpaku May 12, 2026
c8a8a20
[CC-3663] Merge main into CC-3628/remove-deprecated-payment-methods
sixer1182 Oct 28, 2026
63ff96c
[CC-3663] Keep the Invoice payment type and remove PIS
sixer1182 Oct 28, 2026
3513bf7
[CC-3663] Use the v3 basket endpoint by default
sixer1182 Oct 28, 2026
829373c
[CC-3663] Add CHANGELOG entry for 5.0.0
sixer1182 Oct 28, 2026
9016b99
[CC-3663] Keep InvoiceSecured (incl. invoice-guaranteed and invoice-f…
sixer1182 Oct 29, 2026
6e51684
[CC-3663] Merge main into CC-3628/remove-deprecated-payment-methods
sixer1182 Oct 29, 2026
2e1d656
[CC-3663] Merge main into CC-3628/remove-deprecated-payment-methods
sixer1182 Nov 4, 2026
c8c6ac4
[CC-3663] Remove the Invoice and InvoiceSecured payment types
sixer1182 Nov 4, 2026
d0a90b1
Merge remote-tracking branch 'refs/remotes/origin/main' into CC-3628/…
Ryouzanpaku Nov 26, 2026
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
1 change: 0 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ jobs:
report_paths: 'test-results/junit.xml'
check_name: 'Integration Test Report'
detailed_summary: true
fail_on_failure: true
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,24 @@ to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
* `\UnzerSDK\Resources\PaymentTypes\Sofort` payment type. It is no longer supported and will be removed in a future major version.
* `\UnzerSDK\Resources\PaylaterInstallmentPlans`, `\UnzerSDK\Resources\EmbeddedResources\Paylater\InstallmentPlansQuery` and `\UnzerSDK\Resources\EmbeddedResources\Paylater\InstallmentPlan` — use `\UnzerSDK\Resources\PaylaterPlans`, `\UnzerSDK\Resources\EmbeddedResources\Paylater\PaylaterPlansQuery` and `\UnzerSDK\Resources\EmbeddedResources\Paylater\PaylaterPlan`. `Unzer::fetchPaylaterInstallmentPlans()` and the types it returns are unchanged. These will be removed in a future major version.

This is a major release with breaking changes. See the upgrade guide on docs.unzer.com ("Upgrade to PHP SDK v5").

### Changed

* `\UnzerSDK\Resources\Basket` uses the v3 basket endpoint (`/v3/baskets`, bearer authentication) by default. Baskets with an id created before v3 (no UUID) are still read and updated on `/v2/baskets`.
* `\UnzerSDK\Resources\V3\Basket` is now an alias of `\UnzerSDK\Resources\Basket`.
* The basket properties of the traits `\UnzerSDK\Resources\V2\BasketProperties` and `\UnzerSDK\Resources\V2\BasketItemProperties` moved into `Basket` and `BasketItem`; both traits are removed.
* `fetchBasket()` no longer falls back to the v1 basket endpoint.

### Removed

* Support for PHP 8.1. The minimum supported PHP version is now 8.2 (`composer.json` requires `~8.2.0|~8.3.0|~8.4.0|~8.5.0`). PHP 8.1 is end of life and has no official fix for the PHP2Shell vulnerabilities (CVE-2026-109618, CVE-2026-109619).
* Payment types `Sofort`, `Giropay`, `PIS`, `Invoice`, `InvoiceSecured` (incl. invoice-guaranteed and invoice-factoring ids), `SepaDirectDebitSecured` and `InstallmentSecured` (including `Unzer::fetchInstallmentPlans()` and the `InstalmentPlans` / `InstalmentPlan` resources). Payments made with these types can no longer be loaded through the SDK.
* `Unzer::authorize()`, `charge()`, `chargeAuthorization()` and `chargePayment()`. Use `performAuthorization()`, `performCharge()` and `performChargeOnPayment()`.
* `Unzer::setKey()`. Create a new `Unzer` instance to use another key.
* v1 basket fields of `Basket` (`amountTotalGross`, `amountTotalDiscount`, `amountTotalVat`) and `BasketItem` (`amountDiscount`, `amountGross`, `amountVat`, `amountPerUnit`, `amountNet`) and the related constructor parameters.
* `Payment::getCancellation()`, `CanRecur::activateRecurring()`, `HttpService::send()` and `Paypage\Urls::$favicon` (use `Style::$favicon`).
* The `examples` folder.

### Fixed

Expand Down
12 changes: 0 additions & 12 deletions examples/Alipay/Constants.php

This file was deleted.

67 changes: 0 additions & 67 deletions examples/Alipay/Controller.php

This file was deleted.

77 changes: 0 additions & 77 deletions examples/Alipay/index.php

This file was deleted.

12 changes: 0 additions & 12 deletions examples/Applepay/Constants.php

This file was deleted.

80 changes: 0 additions & 80 deletions examples/Applepay/Controller.php

This file was deleted.

Loading