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

Support for managing registrations with pending payments #3361

Merged
merged 3 commits into from Jul 18, 2019

Conversation

driehle
Copy link
Contributor

@driehle driehle commented May 17, 2018

In Indico, payments can have a pending state, which is useful for several situations. Registrations having a pending transaction still have the registration state unpaid, but are still considered as being payed in the is_paid method of the registration object. This might be a bit confusing, but it works.

Currently, for registrations which have a pending transaction, the "Mark as paid" button in the management area does not work. This is o.k., since managers should most likely not interfer with pending transactions. Therefore, this pull requests removes the "Mark as paid" button from the backend under the described circumstances. Additionally, if there still is a pending transactions, users are not allowed to check out a second time.

Managers can always use the "Mark as unpaid" button to reset the transactions. This also allows the user to do another check out, if needed.

@ThiefMaster ThiefMaster changed the base branch from 2.1-maintenance to master Jul 18, 2019
@ThiefMaster ThiefMaster merged commit b385725 into indico:master Jul 18, 2019
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants