[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Membership Routes #2511

Merged
merged 7 commits into from
Jul 25, 2022
Merged

Update Membership Routes #2511

merged 7 commits into from
Jul 25, 2022

Conversation

Abban
Copy link
Member
@Abban Abban commented Jul 5, 2022

Integrate payment context changes into this
controller and presenter

Ticket: https://phabricator.wikimedia.org/T309088

@Abban Abban force-pushed the apply-for-membership branch 3 times, most recently from 978672c to 0d9172f Compare July 6, 2022 07:30
@Abban Abban force-pushed the apply-for-membership branch 2 times, most recently from a93b849 to 787216a Compare July 6, 2022 10:09
@gbirke gbirke mentioned this pull request Jul 6, 2022
@gbirke
Copy link
Member
gbirke commented Jul 7, 2022

There were some recent payment changes (checking allowed payment types) that might affect how the controllers for applying for membership and validating the fee construct classes. Please review #2515 and merge it, rebasing this PR on top of it

@Abban Abban force-pushed the apply-for-membership branch 2 times, most recently from 373f4aa to 396a9a7 Compare July 11, 2022 08:16
@Abban Abban requested review from gbirke and moiikana July 11, 2022 08:16
@Abban Abban marked this pull request as ready for review July 11, 2022 08:16
@Abban Abban force-pushed the apply-for-membership branch 2 times, most recently from 876de2d to f6f89fe Compare July 22, 2022 11:35
Copy link
Member
@gbirke gbirke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything works now except the small thing I corrected with #2524

@Abban Abban changed the title Update applyForMembershipController Update Membership Routes Jul 22, 2022
Abban and others added 7 commits July 25, 2022 09:11
Integrate payment context changes into this
controller and presenter

Ticket: https://phabricator.wikimedia.org/T309088
This adds a unique prefix to DD transfer codes
in preparation for https://phabricator.wikimedia.org/T312087

Ticket: https://phabricator.wikimedia.org/T309088
Implements new payment domain changes

Ticket: https://phabricator.wikimedia.org/T309088

This also removes the account number and bank code
and closes https://phabricator.wikimedia.org/T224220
Implement new payment domain changes

Ticket: https://phabricator.wikimedia.org/T309088
Currently, the frontend does not send a payment type (because until we
implement https://phabricator.wikimedia.org/T312070 we have only one
payment type), but the new payment domain requires a payment type when
validating (because it's trying to construct a valid Payment
internally).

This problem only occurs in the fee validation. For applying for
memberships the frontend sends a type. For donations we don't have
server-side validation of the amount.
@Abban Abban merged commit 4942fcd into update-payment-context Jul 25, 2022
@Abban Abban deleted the apply-for-membership branch July 25, 2022 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants