[Koha-bugs] [Bug 5620] Capture Mode of payment

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 27 16:30:27 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5620

David Bourgault <david.bourgault at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #67362|0                           |1
        is obsolete|                            |

--- Comment #26 from David Bourgault <david.bourgault at inlibro.com> ---
Created attachment 67394
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67394&action=edit
Bug 5620 - Capture mode of payment in accounttype

Means of payment are now captured into accountlines.accounttype. Staff users
can select the mode in a dropdown menu in paycollect.tt.
OPAC Paypal payment have been changed from 'note=Paypal" to mode=08

To reuse SIP logic, payment modes are represented as two digits codes, appended
to the 'Pay' string. Codes are mapped as follows

00 : cash via SIP2
01 : credit card via SIP2
02 : visa via SIP2
03 : cash
04 : credit card
05 : debit
06 : check
07 : cryptocurrency
08 : paypal

00 - 02 are already in master, this patches only adds 03 - 08. Payments with no
specified mode default to 'Pay', which is displayed as "Payment, thanks".

Test plan:
0) Apply patch
1) Visit a test patron's profile in the staff interface
2) Add an invoice if patron has no fines
3) In the pay fines tab, pay off either all, selected or individual (they
should all work)
4) Select a payment mode in the dropdown menu when asked
5) Check that payment mode is correctly displayed in staff interface and OPAC
user's profile ('your fines')

This obsoletes previous patches because the solution is completly different.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list