https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44247 --- Comment #1 from babar junaid <babarjunaid1122@gmail.com> --- Created attachment 212477 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212477&action=edit Bug 44247: sip_cli_emulator.pl sends fee_paid with an empty institution Bug 44247: sip_cli_emulator.pl sends fee_paid with an empty institution The fee_paid handler passes the institution as institution_id, like every other message, but build_fee_paid_command_message reads $params->{location_code}, which it is never given. The message goes out with an empty AO field, and the SIP server logs: handle_fee_paid: received institution '', expected '<institution>' Test plan: 1. perl misc/sip_cli_emulator.pl -a localhost -p 6001 -su <login> -sp <password> -l <institution> --patron <cardnumber> -m fee_paid --fee-amount 0.01 2. The SEND line for message 37 has "AO|" (empty), and sip-output.log says received institution ''. 3. Apply the patch, repeat 1: "AO<institution>|", and no such line in the log. Sponsored-by: Koha Solutions -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.