Bug 15335 - Online payment of fines
Summary: Online payment of fines
Status: RESOLVED DUPLICATE of bug 11622
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Martin Stenberg
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-08 21:38 UTC by Martin Stenberg
Modified: 2019-09-18 07:51 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 15335: Online payment of fines (40.42 KB, patch)
2015-12-13 14:29 UTC, Martin Stenberg
Details | Diff | Splinter Review
Bug 15335: css changes (83.04 KB, patch)
2015-12-13 14:29 UTC, Martin Stenberg
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Stenberg 2015-12-08 21:38:31 UTC
Make it possible for borrowers to pay their fines using online payment services such as DIBS/Paypal/etc.
Comment 1 Owen Leonard 2015-12-09 13:09:40 UTC
I hope this is being developed with Bug 11622 in mind.
Comment 2 Martin Stenberg 2015-12-13 14:11:47 UTC
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?
Comment 3 Martin Stenberg 2015-12-13 14:29:44 UTC
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
Comment 4 Martin Stenberg 2015-12-13 14:29:56 UTC
Created attachment 45618 [details] [review]
Bug 15335: css changes
Comment 5 Magnus Enger 2016-02-24 19:03:29 UTC
Bug 11622 is now Pushed to Master. Is anyone interested in/going to pick features from this patch that are not added by Bug 11622? Or do we just close this bug?
Comment 6 Martin Renvoize 2019-09-18 07:51:41 UTC
Given the timeline of this bug and that Online Payments has been implemented and since moved to plugins I think we can close this bug.

*** This bug has been marked as a duplicate of bug 11622 ***