Goldman Sachs weighed purchase of card tech firms