Page MenuHomePhabricator

Make SofortPayment::confirmedAt immutable
Closed, ResolvedPublic

Description

The confirmation date should never change, so we should change the type to DateTimeImmutable. For code interfacing with SofortDonation we're already using that, so this change would remove the need for conversions.

This involves changes to the SofortPaymentNotification use case, meaning the change is a BC break that necessitates a new Payment release.