failing test for #364
 record credit card failures in the DB (closes #364)
Add test for error result being recorded
Merge pull request #3011 from gratipay/record-cc-failures

Record credit card failures in the DB