Ok, I was wrong the data gets passed through from Msr.java, so you safely
ignore pretty much everything I said :-)

Scott

On 20/11/2007, Scott Gray <[EMAIL PROTECTED]> wrote:
>
> I'm pretty sure you're looking at code that fires on the 2nd pass through,
> ie after the credit card has already been passed in.  I'm at work so can't
> have a look right now unfortunately.
>
> Regards
> Scott
>
> On 20/11/2007, Vince M. Clark <[EMAIL PROTECTED]> wrote:
> >
> > I'm looking at PaymentEvents.payCredit
> >
> > It appears as though there is an attempt to parse a single string that
> > contains all the data.
> >
> > First, msrInfo is is stored in a String:
> > String msrInfoStr = msrInfo[1];
> >
> > Then, further down it is parsed:
> > String[] msrInfoArr = msrInfoStr.split("\\|");
> >
> > I am able to get the swipe working with only the CC number. But I think
> > the main problem I am having is getting the swipe utility to pass the
> > correct delimiter.
> >
> > Vince Clark
> > Global Era
> > The Freedom of Open Source
> > [EMAIL PROTECTED]
> > (303) 493-6723
> >
> > ----- Original Message -----
> > From: "Scott Gray" < [EMAIL PROTECTED]>
> > To: [email protected]
> > Sent: Monday, November 19, 2007 1:52:49 PM (GMT-0700) America/Denver
> > Subject: Re: POS and Credit Card Swipes
> >
> > From memory, pos expects the cc number by itself and then another string
> >
> > containing exp. date, first name and last name. So it won't parse the cc
> > no. as its getting too much info.
> >
> > Regards
> > Scott
> >
> > On 20/11/2007, Vince M. Clark < [EMAIL PROTECTED]> wrote:
> > >
> > > Scott - to be clear, it should at least be parsing the card number,
> > right?
> > > What we are seeing is a big long string with everything, then it
> > appears POS
> > > tries to parse it for the card number but gets the wrong set of
> > characters.
> > >
> > > If it can't handle grabbing multiple values right now (card number and
> > > exp. date in one pass) that is OK. Although a pretty important feature
> > going
> > > forward.
> > >
> > > Vince Clark
> > > Global Era
> > > The Freedom of Open Source
> > > [EMAIL PROTECTED]
> > > (303) 493-6723
> > >
> > > ----- Original Message -----
> > > From: "Scott Gray" < [EMAIL PROTECTED]>
> > > To: [email protected]
> > > Sent: Monday, November 19, 2007 12:43:33 PM (GMT-0700) America/Denver
> > > Subject: Re: POS and Credit Card Swipes
> > >
> > > It's a matter of modifying payCredit payment event so that it can
> > parse
> > > the
> > > string correctly. POS isn't currently expecting all the details to
> > come
> > > through in one go.
> > >
> > > Rergards
> > > Scott
> > >
> > > On 20/11/2007, Vince M. Clark <[EMAIL PROTECTED]> wrote:
> > > >
> > > > We now have the swipe working on Windows but it isn't reading the
> > card
> > > > number and expiration date properly.
> > > >
> > > > When we swipe the card it first displays a long string across the
> > top of
> > > > the window that represents all information on the card including
> > number,
> > > > name, expiration date, etc. Not good to have all this stuff
> > displayed.
> > > >
> > > > Then POS appears to try and parse the string, but we end up with the
> > > wrong
> > > > characters for the card number and get "Invalid Card Number."
> > > >
> > > > The POS terminal is from Touch Dynamics and is model FS 100. It has
> > an
> > > ELO
> > > > touch screen and the model number for the MSR is FS-MSR-LONG. I
> > think it
> > > is
> > > > a generic device. I cannot find separate manufacturer information
> > for
> > > the
> > > > MSR.
> > > >
> > > > Vince Clark
> > > > Global Era
> > > > The Freedom of Open Source
> > > > [EMAIL PROTECTED]
> > > > (303) 493-6723
> > > >
> > > > ----- Original Message -----
> > > > From: "BJ Freeman" <[EMAIL PROTECTED]>
> > > > To: [email protected]
> > > > Sent: Thursday, November 15, 2007 9:46:29 AM (GMT-0700)
> > America/Denver
> > > > Subject: Re: POS and Credit Card Swipes
> > > >
> > > > what mfr and model of reader do you have.
> > > > most readers are serial, so is the baud rate and bits set properly.
> > > > some use the keyboard.
> > > > http://www.javapos.com/docs.html
> > > >
> > > > Vince M. Clark sent the following on 11/15/2007 8:01 AM:
> > > > > Is anyone using swipes successfully with POS? We are configuring
> > some
> > > > terminals and have noticed the card isn't being read properly. It
> > varies
> > > > from terminal to terminal so it may just be a configuration or
> > driver
> > > issue.
> > > > >
> > > > > But I don't really understand how the swipe interacts with POS so
> > not
> > > > sure if the issue is OfBiz or lower level OS or config issues. I
> > looked
> > > in
> > > > jpos.xml and don't see anything related to a card swipe.
> > > > >
> > > > > Note that we are working with Linux, not Windows.
> > > > >
> > > > > Vince Clark
> > > > > Global Era
> > > > > The Freedom of Open Source
> > > > > [EMAIL PROTECTED]
> > > > > (303) 493-6723
> > > > >
> > > >
> > >
> >
>
>

Reply via email to