Acceptance Criteria:
- All initializations in FunFunFactory are correct
- Dev environment setup works
- CI produces no errors when running with the new payment domain
Implementation details:
Change composer file to use the new repositories and PHP 8.1
Mark all failing tests as incomplete
Controllers for "add", "show confirmation", and "payment notification"
- Remove/comment out code that references removed payment classes. If necessary, create Dummy classes as stand-ins.
FunFunFactory
- Change Transfer code generator namespace
- Remove individual URL generators for PayPal, Sofort and Credit Card, Initialize URL generator factory with configs instead
- Add the new dependencies for the create donation/membership use cases and notification use cases
- remove the paypal notification use cases for memberships
- use the consolidated use case for payment notification
- Add different domain-specific payment validators for the "add donation" and "add membership" use cases
DoctrineFactory
- Add payment repository and mapping
- Initialize custom data types (see test environment setup of payment or donation)
Run make generate-database-schema and check in changed schema