[Koha-bugs] [Bug 12820] SIP2 does not send rental charge fee!

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 25 06:35:07 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12820

Brendan Gallagher <brendan at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #35878|0                           |1
        is obsolete|                            |

--- Comment #13 from Brendan Gallagher <brendan at bywatersolutions.com> ---
Created attachment 36155
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36155&action=edit
Bug 12820: Handle rental fees in Sip issue and renew

Implement correct handling of fees associated with checking out
an item.
This is associated with fee acknowledged field (BO)

To quote from the Sip2 document
" If this field is N in a Checkout message and there is a fee
associated with checking out the item, the ACS should tell the
SC in the Checkout Response that there is a fee, and refuse to
check out the item. If the SC and the patron then interact and the
patron agrees to pay the fee, this field will be set to Y on a second
Checkout message, indicating to the ACS that the patron has acknowledged
the fee and checkout of the item should not be refused just
because there is a fee associated with the item"

So there are two Checkout requests the first with BO not set to Y is
rejected but the fee amount is returned. The Second Checkout with BO set
to Y should succeed.

Added a debug log message indicating why we block a checkout
when we dont otherwise indicate

Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
I tested with telnet and generated sip messages to get response.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list