Unclear behavior when competition's currency changes when a payment has been made #1356
Labels
CONVERT-TO-PROJECT: payments
A "Paymens" project will be created including all the issues with this label.
could-be-quick
META: good first issue
Small/easy change which is a good introduction to working in the WCA repo
Just thought about this: I don't think we handle well the case where the organizer or delegate change the currency when a payment has been made!
The refund behavior is well defined since we refund a Stripe charge, however we don't take into account multiple currencies in some part of the website, eg in
paid_entry_fees
:Note how we just make a sum, assuming everything is in the same currency.
Suggestion: make the currency immutable as long as anyone has a non zero balance for the competition.
The text was updated successfully, but these errors were encountered: