Openbravo Issue Tracking System - Java Client POS
View Issue Details
0008882Java Client POS(No Category)public2009-05-04 17:092014-04-02 09:03
mirurita 
adrianromero 
normaltrivialalways
closedfixed 
20rPath Linux
 
2.30 
0008882: printCardNumber() method prints always 12 asterisks (fix number) followed by the last 4 digits of the card.
In PaymentInfoMagCard class, the printCardNumber() method always returns the card number masked: it shows 12 asterisk followed by the last 4 digits of the card.

In the case of 15 digit card number, the method will return also 12 asterisk + the last 4 digits. So the result will be 16 digit card number masked

For example with this card number: 123456789123456 (15 digits)
the result is: ************3456 (12 asterisk + 4 = 16 digits)
Select in configuration External payment gateway and keyboard as Mag. Card. Reader.

In payment window select card tab and fill the required fields.
Use a valid card number with 15 digits (it must fulfill the Luhn Algorithm [1]).

Then go to Screen Printer mode and check the digit number in the ticket template.

[1] http://en.wikipedia.org/wiki/Luhn_algorithm [^]
No tags attached.
Issue History
2009-05-04 17:09miruritaNew Issue
2009-05-04 17:09miruritaAssigned To => mirurita
2009-05-04 17:16hgbotCheckin
2009-05-04 17:16hgbotNote Added: 0016016
2009-05-04 17:16hgbotStatusnew => resolved
2009-05-04 17:16hgbotResolutionopen => fixed
2011-06-03 12:22dalsasuaAssigned Tomirurita => adrianromero
2012-11-07 09:40priyamCategory01 - General => (No Category)
2014-04-02 09:03plujanNote Added: 0065959
2014-04-02 09:03plujanStatusresolved => closed

Notes
(0016016)
hgbot   
2009-05-04 17:16   
Repository: openbravopos
Revision: 612
Author: mirurita
Date: 2009-05-04 17:16:28 +0200 (Mon, 04 May 2009)

Fixes issue 0008882: printCardNumber() method prints always 12 asterisks (fix number) followed by the last 4 digits of the card.

---
U trunk/src-pos/com/openbravo/pos/payment/PaymentInfoMagcard.java
---

https://dev.openbravo.com/websvn/openbravopos/?rev=612&sc=1 [^]
(0065959)
plujan   
2014-04-02 09:03   
Closed as it was in Resolved for too long