Add SIP2 fee payment, the 37/38 message/response pairs.
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 30 Jun 2011 15:48:28 +0000 (11:48 -0400)
committerJeff Godin <jgodin@tadl.org>
Tue, 19 Jun 2012 20:51:59 +0000 (16:51 -0400)
commitd80b6f47e55bce3f6ecdadb62034c482d0f1ebe1
tree9442f6c680e0ba864843093bec373b8285f15fa3
parent193c848550c81da4214f5b5a481a58410cadc9e1
Add SIP2 fee payment, the 37/38 message/response pairs.

* Pay individual bill if a fee id is given by the SC.

* Pay multiple bills in batch so if one fails the whole transaction
  is aborted and a failure response is sent to the SC.

* Reject payments outright if the SC sends an overpayment.

* Add constants for bill not found and overpayment messages.

* Whole lotta logging goin' on (maybe too much).

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/oils_sip.xml.example
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Msg.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm [new file with mode: 0644]