Page MenuHomePhabricator

Adapt Donation LegacyConverters
Closed, ResolvedPublic5 Estimated Story Points

Description

Remove all payment-related conversion from the legacy converters and tests.

Add the GetPaymentUseCase as a new dependency to doctrine donation repository, querying the data when writing. There are values in the legacy data that have their own column (outside the data blob)

  • payment type
  • payment reference code (formerly known as payment reference), table column ueb_code
  • donation state (set in updateStatusInformation)

Test with the real implementation of the LegacyDataService to make sure legacy data still gets written.

Event Timeline

gabriel-wmde renamed this task from Adapt LegacyConverters to Adapt Donation LegacyConverters.Mar 30 2022, 12:23 PM
gabriel-wmde set the point value for this task to 5.

@cohi I merged the payment PR and made all the remaining code changes in a followup PR on your PR: https://github.com/wmde/fundraising-donations/pull/179

The ticket description omitted the fact that this ticket is about fixing the whole storage layer (legacy converters in both directions + doctrine repository) and I'm sorry for that.
My PR should take care of everything.

kai.nissen claimed this task.