Thursday, January 5, 2012

CounterPoint v7 Gift / Credit Card Expiration

One of the applications I support is Radiant’s CounterPoint Point of Sale software. In the v7 version of the product, we had an incident where a customer had a gift card that had an available balance and an expiration date in 2020.

When swiped, the card would read properly, then come back with a ‘Card Expired’ error.

The answer is a little obscure, but it’s a work-around that was done to make the product Y2K compliant. Since CounterPoint v7 is written in COBOL, it maintains only a 2 digit year record. To get around this, it also maintains a ‘current century’ setting that defines to the system what years fall within the current century. By default, that is set to 1920 – 2020. So with the card expiring after 2020, the system thought it was reading 1920 and errored out.

To resolve, click through to Setup / System / Company / Option #7 is the current century.

Update to some time before company opened (eg: 1980 - 2080)

Done!

No comments:

Post a Comment