Bug 41218 - Enrollment fee can be charged twice when changing category of expired patron
Summary: Enrollment fee can be charged twice when changing category of expired patron
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-07 16:36 UTC by Andrew Fuerste-Henry
Modified: 2025-11-07 16:36 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2025-11-07 16:36:16 UTC
When a patron's account is expired and their category needs to be changed to one that charges an enrollment fee, they end up with two fees if their category is changed before they are renewed. It's unrealistic to expect staff to remember to always renew the patron before changing their category.

To recreate:
- have an expired patron
- have a category that charges an enrollment fee
- edit your patron to move them into your category
- confirm your patron has been charged the enrollment fee
- renew your patron
- confirm your patron now has a second enrollment fee charge

Possible solutions:
- Do not charge an enrollment fee on category change for expired patrons
- Ask the user whether or not the charge the enrollment fee on category change for expired patrons
- Force renewal of the patron on category change