Use the GetPaymentUseCase to get the payment data, instead of asking the donation/membership for payment data.
For the payment-specific values you probably need to do more than an array_merge: Compare the array keys of the payment specific data to the array keys expected by the template and assign the values where the keays differ (to keep backwards compatibility with the frontend code)
Description
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T203684 Improve code and architecture of Fundraising Operation Center | |||
| Open | None | T203654 Improve Code and Architecture of Fundraising Frontend | |||
| Open | None | T203679 Refactor fundraising database schema | |||
| Open | None | T192323 Improve expressiveness of Payment domain and reduce coupling | |||
| Resolved | gabriel-wmde | T305826 Integrate new Payment Domain into Fundraising Application | |||
| Duplicate | None | T309089 Change confirmation page payment data source for donation and membership |