svn commit: r595259 - /ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r595259 - /ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java

lektran
Author: lektran
Date: Thu Nov 15 02:02:32 2007
New Revision: 595259

URL: http://svn.apache.org/viewvc?rev=595259&view=rev
Log:
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");
                 }