Client side functionality for buying cards