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)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 4 Aug 2011 16:33:45 +0000 (12:33 -0400)
commit56f0856ee4bcc5c91db9f16c8304cd50388c0735
treec8e0355fec648bb986ace808c9dd4b7f065850f7
parent9cd9478e7450ac48d0d522ceef5d4830b2e3aae9
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>
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]