]> git.evergreen-ils.org Git - working/Evergreen.git/commit
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)
committerBill Erickson <berick@esilibrary.com>
Fri, 12 Aug 2011 20:54:26 +0000 (16:54 -0400)
commitc394f0bac6111dd9c84ba4384da7be1ef7613728
tree279128a5f1e5fed78e6ddbef1b751072d390e9fc
parent0d77bd8168ed4a66c2f9f759b87ac0405faa8efe
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]