richardherbert/cfPaymill — pull request #1 by aliaspooryorik (2014-04-18 18:37:18+00:00)
Title: Trap and reports the reason for a failed card

**Purpose**
This change traps and reports the reason for a failed card. In test mode using the following details will trigger this:

credit card number: 5105105105105100
the CVV is any 3-digit number you can choose on your own.
expiry: 03/2020

(other error codes can be tested using the details listed here: https://www.paymill.com/en-gb/documentation-3/reference/testing/)

**Notes**
- Without this change an error will be thrown for invalid card details.
- This fix has not been battle tested :)