[Koha-bugs] [Bug 21043] Add routes to add debits to a patron's account
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 1 16:36:24 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21043
--- Comment #14 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 147567
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147567&action=edit
Bug 21043: (follow-up) Handle exceptions and switch to debit response
We were cheating a bit here and expecting a 'debit' to be sent in but a
'line' to be returned.
We should really be sending a debit and returning a debit.. so I've
update the paths schema as such.. but a little more work needs doing to
get it all working.
I've also added some code to catch exceptions that can be thrown by
Koha::Account->add_debit and added the appropriate 400 errors into the
path specs again.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list