lib/active_merchant/billing/gateways/paymill.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/paymill.rb in activemerchant-1.84.0
- old
+ new
@@ -238,11 +238,10 @@
31201 => 'Pending due to non-captured funds',
31202 => 'Pending due to international account (accept manually)',
31203 => 'Pending due to currency conflict (accept manually)',
31204 => 'Pending due to fraud filters (accept manually)',
-
40000 => 'Problem with transaction data',
40001 => 'Problem with payment data',
40002 => 'Invalid checksum',
40100 => 'Problem with credit card data',
40101 => 'Problem with CVV',
@@ -318,10 +317,9 @@
return 'Transaction approved.' if (parsed_response['data'] == [])
code = parsed_response['data']['response_code'].to_i
RESPONSE_CODES[code] || code.to_s
end
-
class ResponseParser
attr_reader :raw_response, :parsed, :succeeded, :message, :options
def initialize(raw_response='', options={})