Train companies suffer glitch accepting card payments for tickets