Permalink
Browse files

Adding mapping for account-number - invalid

  • Loading branch information...
1 parent 5108043 commit 4080c835862adfa82230fa8f476c342c91f4ab23 @jkrall jkrall committed Mar 3, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 0.1/samurai/payment_error_handler.js.coffee
@@ -36,6 +36,7 @@ $ = Samurai.jQuery
'error processor.network_gateway unresponsive' : 'The processing network is temporarily unavailable.',
'error processor.network_gateway merchant_invalid' : 'The merchant number is not on file.',
'error processor.transaction duplicate' : 'Duplicate transaction detected. This transaction was not processed.',
+ 'error input.account_number invalid' : 'The card number was invalid.',
# CVV Responses
'error input.cvv declined' : 'The CVV code was not correct.',
@@ -47,7 +48,7 @@ $ = Samurai.jQuery
'error input.card_number too_long' : 'The card number was too long.',
'error input.card_number failed_checksum' : 'The card number was invalid.',
'error input.card_number is_invalid' : 'The card number was invalid.',
- 'error input.card_number invalid' : 'The card number was invalid.',
+ 'error input.card_number invalid' : 'The card number was invalid.',
'error input.cvv is_blank' : 'The CVV was blank.',
'error input.cvv not_numeric' : 'The CVV was invalid.',
'error input.cvv too_short' : 'The CVV was too short.',

0 comments on commit 4080c83

Please sign in to comment.