lib/active_merchant/billing/gateway.rb in activemerchant-1.59.0 vs lib/active_merchant/billing/gateway.rb in activemerchant-1.60.0
- old
+ new
@@ -74,10 +74,11 @@
# :incorrect_pin - Card PIN is incorrect
# :card_declined - Card number declined by processor
# :processing_error - Processor error
# :call_issuer - Transaction requires voice authentication, call issuer
# :pickup_card - Issuer requests that you pickup the card from merchant
+ # :test_mode_live_card - Card was declined. Request was in test mode, but used a non test card.
STANDARD_ERROR_CODE = {
:incorrect_number => 'incorrect_number',
:invalid_number => 'invalid_number',
:invalid_expiry_date => 'invalid_expiry_date',
@@ -89,10 +90,11 @@
:incorrect_pin => 'incorrect_pin',
:card_declined => 'card_declined',
:processing_error => 'processing_error',
:call_issuer => 'call_issuer',
:pickup_card => 'pick_up_card',
- :config_error => 'config_error'
+ :config_error => 'config_error',
+ :test_mode_live_card => 'test_mode_live_card'
}
cattr_reader :implementations
@@implementations = []