lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.133.0 vs lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.137.0

- old
+ new

@@ -156,14 +156,18 @@ end def commit(action, request) response = parse(ssl_post(self.live_url, build_request(action, request), POST_HEADERS)) - Response.new(successful?(response), message_from(response), response, + Response.new( + successful?(response), + message_from(response), + response, test: test?, authorization: authorization_from(response), avs_result: { code: response[:avs] }, - cvv_result: response[:cvv2]) + 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