Page MenuHomePhabricator

Prepare Fundraising App context for new Payment context
Closed, ResolvedPublic3 Estimated Story Points

Description

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

Event Timeline

gabriel-wmde set the point value for this task to 8.
gabriel-wmde renamed this task from Change initialization in FunFunFactory to Prepare Fundraising App context for new Payment context.May 17 2022, 3:01 PM
gabriel-wmde updated the task description. (Show Details)
AbbanWMDE moved this task from Doing to Todo on the WMDE-FUN-Sprint-2022-05-30 board.
AbbanWMDE subscribed.
kai.nissen changed the point value for this task from 8 to 3.