Author: lektran
Date: Thu Nov 15 02:02:32 2007
New Revision: 595259
URL:
http://svn.apache.org/viewvc?rev=595259&view=revLog:
In POS when paying via credit card, if an invalid credit card was entered the wrong input function was being cleared and this prevented subsequent credit card details being entered
Modified:
ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java
Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java?rev=595259&r1=595258&r2=595259&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java Thu Nov 15 02:02:32 2007
@@ -135,7 +135,7 @@
pos.getOutput().print(UtilProperties.getMessage("pos","CREDEX",Locale.getDefault()));
} else {
Debug.log("Invalid card number - " + input.value(), module);
- input.clearFunction("MSRINFO");
+ input.clearFunction("CREDIT");
input.clearInput();
pos.showDialog("dialog/error/invalidcardnumber");
}