Summary: | Online payment of fines | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Stenberg <martin> |
Component: | OPAC | Assignee: | Martin Stenberg <martin> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | josef.moravec, magnus, martin.renvoize |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 15335: Online payment of fines
Bug 15335: css changes |
Description
Martin Stenberg
2015-12-08 21:38:31 UTC
I hope this is being developed with Bug 11622 in mind. Unfortunately I did not know about bug 11622 when I wrote this patch. I'm attaching the code anyways, since my code is a bit different in that it allows you to select individual fines to pay (i.e. you don't have to pay the full amount at once). The code is prepared for adding other payment providers (such as paypal), so perhaps it would be possible to merge 15335 and 11622? Created attachment 45617 [details] [review] Bug 15335: Online payment of fines This patch implements DIBS online payments for paying fines and other charges directly from OPAC. Patch prepares for easily integrating other payment services, such as Paypal. Test plan: 1. apply patch 2. run updatedatabase.pl 3. create a DIBS account at http://www.dibspayment.com/demo-signup 4. set system preferences OpacPayment* and make sure OPACBaseURL is set 5. create some fines for a patron (e.g. make a checkout with a passed return date) 6. log in to opac with said patron 7. go to "your fines" 8. fines should now show under the "Fines and charges" header 9. select the fines you want to pay and press "Checkout" 10. confirm and/or update your billing information 11. press "confirm & pay" 12. test cards can be found here: http://tech.dibspayment.com/D2/Toolbox/Test_information/Cards Created attachment 45618 [details] [review] Bug 15335: css changes |