POS and Credit Card Swipes

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

POS and Credit Card Swipes

Vince Clark
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
[hidden email]
(303) 493-6723
Reply | Threaded
Open this post in threaded view
|

Re: POS and Credit Card Swipes

BJ Freeman
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
> [hidden email]
> (303) 493-6723
>
Reply | Threaded
Open this post in threaded view
|

Re: POS and Credit Card Swipes

Vince Clark
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
[hidden email]
(303) 493-6723

----- Original Message -----
From: "BJ Freeman" <[hidden email]>
To: [hidden email]
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
> [hidden email]
> (303) 493-6723
>
Reply | Threaded
Open this post in threaded view
|

Re: POS and Credit Card Swipes

Scott Gray
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 <[hidden email]> 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
> [hidden email]
> (303) 493-6723
>
> ----- Original Message -----
> From: "BJ Freeman" <[hidden email]>
> To: [hidden email]
> 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
> > [hidden email]
> > (303) 493-6723
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: POS and Credit Card Swipes

Vince Clark
We found the manufacturer of the card swipe. It is ID Tech. We are now playing around with the configuration utility that came with the device so I'll update this thread with any helpful info.

Vince Clark
Global Era
The Freedom of Open Source
[hidden email]
(303) 493-6723

----- Original Message -----
From: "Scott Gray" <[hidden email]>
To: [hidden email]
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 <[hidden email]> 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
> [hidden email]
> (303) 493-6723
>
> ----- Original Message -----
> From: "BJ Freeman" <[hidden email]>
> To: [hidden email]
> 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
> > [hidden email]
> > (303) 493-6723
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: POS and Credit Card Swipes

Vince Clark
In reply to this post by Scott Gray
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
[hidden email]
(303) 493-6723

----- Original Message -----
From: "Scott Gray" <[hidden email]>
To: [hidden email]
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 <[hidden email]> 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
> [hidden email]
> (303) 493-6723
>
> ----- Original Message -----
> From: "BJ Freeman" <[hidden email]>
> To: [hidden email]
> 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
> > [hidden email]
> > (303) 493-6723
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: POS and Credit Card Swipes

Scott Gray
In reply to this post by Vince Clark
If possible you should try to insert a carriage return after the card
number.  I'm pretty sure that is what pos is expecting.

Regards
Scott

On 20/11/2007, Vince M. Clark <[hidden email]> wrote:

>
> We found the manufacturer of the card swipe. It is ID Tech. We are now
> playing around with the configuration utility that came with the device so
> I'll update this thread with any helpful info.
>
> Vince Clark
> Global Era
> The Freedom of Open Source
> [hidden email]
> (303) 493-6723
>
> ----- Original Message -----
> From: "Scott Gray" <[hidden email]>
> To: [hidden email]
> 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 <[hidden email]> 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
> > [hidden email]
> > (303) 493-6723
> >
> > ----- Original Message -----
> > From: "BJ Freeman" <[hidden email]>
> > To: [hidden email]
> > 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
> > > [hidden email]
> > > (303) 493-6723
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: POS and Credit Card Swipes

Scott Gray
In reply to this post by Vince Clark
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 <[hidden email]> 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
> [hidden email]
> (303) 493-6723
>
> ----- Original Message -----
> From: "Scott Gray" <[hidden email]>
> To: [hidden email]
> 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 <[hidden email]> 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
> > [hidden email]
> > (303) 493-6723
> >
> > ----- Original Message -----
> > From: "BJ Freeman" <[hidden email]>
> > To: [hidden email]
> > 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
> > > [hidden email]
> > > (303) 493-6723
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: POS and Credit Card Swipes

Vince Clark
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
[hidden email]
(303) 493-6723

----- Original Message -----
From: "Scott Gray" <[hidden email]>
To: [hidden email]
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 <[hidden email]> 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
> [hidden email]
> (303) 493-6723
>
> ----- Original Message -----
> From: "Scott Gray" <[hidden email]>
> To: [hidden email]
> 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 <[hidden email]> 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
> > [hidden email]
> > (303) 493-6723
> >
> > ----- Original Message -----
> > From: "BJ Freeman" <[hidden email]>
> > To: [hidden email]
> > 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
> > > [hidden email]
> > > (303) 493-6723
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: POS and Credit Card Swipes

Scott Gray
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 <[hidden email]> 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
> [hidden email]
> (303) 493-6723
>
> ----- Original Message -----
> From: "Scott Gray" <[hidden email]>
> To: [hidden email]
> 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 <[hidden email]> 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
> > [hidden email]
> > (303) 493-6723
> >
> > ----- Original Message -----
> > From: "Scott Gray" <[hidden email]>
> > To: [hidden email]
> > 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 <[hidden email]> 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
> > > [hidden email]
> > > (303) 493-6723
> > >
> > > ----- Original Message -----
> > > From: "BJ Freeman" <[hidden email]>
> > > To: [hidden email]
> > > 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
> > > > [hidden email]
> > > > (303) 493-6723
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: POS and Credit Card Swipes

Scott Gray
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 <[hidden email]> 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 <[hidden email]> 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
> > [hidden email]
> > (303) 493-6723
> >
> > ----- Original Message -----
> > From: "Scott Gray" < [hidden email]>
> > To: [hidden email]
> > 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 < [hidden email]> 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
> > > [hidden email]
> > > (303) 493-6723
> > >
> > > ----- Original Message -----
> > > From: "Scott Gray" < [hidden email]>
> > > To: [hidden email]
> > > 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 <[hidden email]> 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
> > > > [hidden email]
> > > > (303) 493-6723
> > > >
> > > > ----- Original Message -----
> > > > From: "BJ Freeman" <[hidden email]>
> > > > To: [hidden email]
> > > > 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
> > > > > [hidden email]
> > > > > (303) 493-6723
> > > > >
> > > >
> > >
> >
>
>