On the staff version of the portal, on a payment page, there is an option to reset payment.
Sometimes candidates select one ticket type, but then need to change it. Example: a candidate selected student but now can't prove they're a student so they need to change the ticket type to regular. Or someone learned now that their company is willing to pay for their ticket. Or a candidate selected the wrong ticket type. This happens every year.
This reset payment option worked like this:
the candidate could change their ticket type on the profile
the staff would click reset payment and a new payment would be generated with the updated value
on the portal, the student would see the correct amount
taken from https://github.com/LDSSA/portal/issues/117
On the staff version of the portal, on a payment page, there is an option to reset payment. Sometimes candidates select one ticket type, but then need to change it. Example: a candidate selected student but now can't prove they're a student so they need to change the ticket type to regular. Or someone learned now that their company is willing to pay for their ticket. Or a candidate selected the wrong ticket type. This happens every year.
This reset payment option worked like this:
Example: https://portal-staging.lisbondatascience.org/admissions/staff/payments/6
I tried the reset payment and it gave me 500 error.
It's ok if we can't fix the "Reset" feature as long as we can change the ticket type and update the payment on the back office.