NEW YORK (CBSNewYork) — Long Island Rail Road riders who tried to buy a ticket Thursday morning using a credit or debit card were out of luck.

Spokesman Sal Arena told 1010 WINS a computer glitch knocked out all 350 ticket machines throughout the system around 7 a.m. The machines were only accepting cash.

Some passengers may have needed to purchase a ticket aboard the train, which usually includes an additional fee, but Arena said conductors should not have charged the extra fee since the machines were down.

It took nearly three hours for the problem to be fixed. The LIRR expects the machines to be working for the evening rush.

Were you affected by the problem? Let us know below

Watch & Listen LIVE