Page MenuHomePhabricator

Move unique payment transfer code generator to payment domain
Closed, ResolvedPublic2 Estimated Story Points

Description

The donation bounded context contains a class UniqueTransferCodeGenerator that that is a wrapper around payment reference codes (formerly known as transfer codes) that ensures they're unique, by looking at the database and generating new ones until a unique one is found. This functionality must now be in the payment domain

Acceptance criteria:

  • Functionality is in the payment domain and passes tests

Implementation notes:

You can no longer use an entity repository. Instead, use a raw SQL and a UNION to look for transfer codes both in sofort and bank transfer tables

Event Timeline

AbbanWMDE moved this task from Doing to Review on the WMDE-FUN-Sprint-2022-04-04 board.
AbbanWMDE subscribed.
kai.nissen set the point value for this task to 2.Apr 20 2022, 9:23 AM
AbbanWMDE moved this task from Doing to Review on the WMDE-FUN-Sprint-2022-04-19 board.