lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.84.0

- old
+ new

@@ -11,11 +11,10 @@ TRANSACTIONS = { :sale => '00', :authorization => '01', :capture => '32', :credit => '34' } - ENVELOPE_NAMESPACES = { 'xmlns:xsd' => 'http://www.w3.org/2001/XMLSchema', 'xmlns:env' => 'http://schemas.xmlsoap.org/soap/envelope/', 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance' } @@ -167,10 +166,9 @@ :test => test?, :authorization => authorization_from(response), :avs_result => { :code => response[:avs] }, :cvv_result => response[:cvv2] ) - rescue ResponseError => e case e.response.code when '401' return Response.new(false, "Invalid Login: #{e.response.body}", {}, :test => test?) else