Page MenuHomePhabricator

Add payment type to membership application list entries in Fundraising Operation Center
Closed, ResolvedPublic1 Estimated Story Points

Description

The Fundraising Operation Center should show the payment type in the list of membership applications.

Acceptance Criteria

  • The payment type is shown in the payment detail column ("Zahlung") in the list of membership applications.
  • The detail view of a list entry shows payment data
    • Payment type
    • IBAN and BIC for direct debit
    • Reference code for bank transfer
  • The detail view window title is changed to "Mitgliedschaftsantrag".
  • The obsolete fields "Geldinstitut", "Konto" and "Bankleitzahl" are removed from the detail view.

Mockups

List view
Screenshot from 2022-07-05 09-52-18.png (67×1 px, 14 KB)
Detail view for direct debit
Screenshot from 2022-07-05 10-17-06.png (475×291 px, 38 KB)
Detail view for bank transfer
Screenshot from 2022-07-05 10-17-52.png (475×291 px, 34 KB)

Implementation details

Event Timeline

kai.nissen set the point value for this task to 8.
AbbanWMDE moved this task from Doing to Review on the WMDE-FUN-Sprint-2023-02-06 board.
AbbanWMDE subscribed.
kai.nissen changed the point value for this task from 8 to 3.
AbbanWMDE changed the point value for this task from 3 to 1.Mar 6 2023, 10:13 AM
AbbanWMDE moved this task from Todo to Deploy to Test on the WMDE-FUN-Sprint-2023-03-06 board.

not sure what the PR for this is but it seems already merged, I deployed the main branch to test-backend

@AbbanWMDE When clicking the 👁 to see the membership application details the server returns an error message and the client does not display the overlay window.

<br />
<b>Fatal error</b>:  Uncaught Error: Call to a member function getPaymentId() on null in /local/sites/test-backend.wikimedia.de/release-202303091055/src/DataAccess/DatabaseMembershipQueries.php:54
Stack trace:
#0 /local/sites/test-backend.wikimedia.de/release-202303091055/app/RouteHandlers/MembershipHandler.php(36): WMDE\Fundraising\Backend\DataAccess\DatabaseMembershipQueries-&gt;getMembershipById()
#1 /local/sites/test-backend.wikimedia.de/release-202303091055/app/RouteFactory.php(186): WMDE\Fundraising\Backend\App\RouteHandlers\MembershipHandler-&gt;memberDetails()
#2 /local/sites/test-backend.wikimedia.de/release-202303091055/vendor/symfony/http-kernel/HttpKernel.php(163): WMDE\Fundraising\Backend\App\RouteFactory-&gt;WMDE\Fundraising\Backend\App\{closure}()
#3 /local/sites/test-backend.wikimedia.de/release-202303091055/vendor/symfony/http-kernel/HttpKernel.php(74): Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw()
#4 /local/sites/test-backend.wikimedia.de/release-202303091055/app/Application.php(54): Symfony\Component\HttpKernel\HttpKernel-&gt;handle()
#5 /local/sites/test-backend.wikimedia.de/release-202303091055/app/Application.php(59): WMDE\Fundraising\Backend\App\Application-&gt;handle()
#6 /local/sites/test-backend.wikimedia.de/release-202303091055/index.php(20): WMDE\Fundraising\Backend\App\Application-&gt;run()
#7 {main}
  thrown in <b>/local/sites/test-backend.wikimedia.de/release-202303091055/src/DataAccess/DatabaseMembershipQueries.php</b> on line <b>54</b><br />

I've created a fix for the error and also fixed the membership fee display (that previously was in Euro-Cents): https://github.com/wmde/fundraising-backend/pull/818