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

- old
+ new

@@ -109,14 +109,16 @@ def commit(url, money, parameters) raw_response = ssl_post(url, post_data(parameters)) response = parse(raw_response) - Response.new(success?(response), + Response.new( + success?(response), message_from(response[:ewaytrxnerror]), response, authorization: response[:ewaytrxnnumber], - test: test?) + test: test? + ) end def success?(response) response[:ewaytrxnstatus] == 'True' end