monika
9th April 2013, 08:03
Hi,

We are making Credit Card Interface in Baan LN.
We have the Card Swipe Device, on which at the swipe of card we can get the Card Information on Notepad(The information comes automatically in the form of string)
The same can be achieved on any active session in Baan. In Baan also the Credit card information comes automatically on the input field.
This string contains entire Credit Card information i.e. Credit Card Number, Credit Card Holder Name, Expiry Details.

Once we have Card Information, we have to split the required information into separate fields i.e. Credit Card Number, Credit Card Holder Name, Card Expiry Date.

Once the Card is swiped, information is automatically available in Baan, but unfortunately I could not find any Event which gets triggered on swipe of Card.
As a result, to split the value currently I have to manually press enter after card is swipe.

Does someone know, which event can be triggered after swipe of the card or how we can handle the splitting of Card Information into separate fields in Baan.

Monika

mark_h
10th April 2013, 14:41
Can you configure the credit card device to append an enter or something at the end of the information? Something like a barcode reader - you can search this forum for information on how people have done that. I am thinking if you could get a tab or something then you could use the when field changes event to launch a routine to separate and process the card - something like that.

vinceco252
10th April 2013, 18:19
You may also want to look at the on.input or when.field.changes events.