Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding mapping for account-number - invalid

  • Loading branch information...
commit 4080c835862adfa82230fa8f476c342c91f4ab23 1 parent 5108043
Joshua Krall jkrall authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  0.1/samurai/payment_error_handler.js.coffee
3  0.1/samurai/payment_error_handler.js.coffee
View
@@ -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.',
Please sign in to comment.
Something went wrong with that request. Please try again.