From 8d18557bb0a01b29945d141dbf72fa078ac92cc0 Mon Sep 17 00:00:00 2001 From: David Owusu Date: Mon, 23 Nov 2026 10:20:24 +0100 Subject: [PATCH] [CC-4344] Deprecate the Sofort payment type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sofort is no longer supported by docs.unzer.com / the PAPI reference. Add a class-level @deprecated docblock, mirroring Giropay and PIS. Deprecation only — nothing is removed and IdStrings is left untouched (Giropay/PIS precedent). Completes PHP parity with the CC-4253 deprecated-types list. --- src/Resources/PaymentTypes/Sofort.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Resources/PaymentTypes/Sofort.php b/src/Resources/PaymentTypes/Sofort.php index 5f24082b5..fa6eaf64f 100755 --- a/src/Resources/PaymentTypes/Sofort.php +++ b/src/Resources/PaymentTypes/Sofort.php @@ -5,6 +5,7 @@ use UnzerSDK\Traits\CanDirectCharge; use UnzerSDK\Traits\HasAccountInformation; +/** @deprecated Sofort payment type is no longer supported and will be removed in a future version. */ class Sofort extends BasePaymentType { use HasAccountInformation;