Page MenuHomePhabricator

Adapt all membership-related routes for new payment
Closed, ResolvedPublic8 Estimated Story Points

Description

Apply for membership

  • Change building of the request for the use case - don't use individual setters for payment data (amount, interval, payment type, iban, etc). Instead, build a PaymentCreationRequest and set it.
  • In preparation of the coming bank data payments, set the transfer code prefix to "XM" (see T312087: Change backend code to meet bank transfer requirements)
  • Remove all branching that checks the payment type. .
  • ~~ Remove URL generators from the fundraising application repo.~~
  • Fix the converter that takes a donation and turns it into values for the membership form.

Validate Fee
Use new payment class

  • Cancel Membership**

Fix unit tests. With the adapted fixtures this should be straightforward

Notes

  • There is a CLI tool to test confirmation mail output.

Event Timeline

kai.nissen set the point value for this task to 8.

@AbbanWMDE I've updated the ticket with one more small requirement: setting the payment reference code of the payment creation request to "XM" (see T312087: Change backend code to meet bank transfer requirements)

kai.nissen changed the point value for this task from 8 to 3.Jul 11 2022, 10:32 AM
AbbanWMDE moved this task from Doing to Review on the WMDE-FUN-Sprint-2022-07-11 board.
AbbanWMDE subscribed.
gabriel-wmde renamed this task from Change "apply for membership" route to Adapt all membership-related routes for new payment.Jul 14 2022, 3:05 PM
gabriel-wmde updated the task description. (Show Details)
gabriel-wmde changed the point value for this task from 3 to 8.
kai.nissen claimed this task.