record credit card failures in the DB (closes #364)