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

- old
+ new

@@ -448,14 +448,18 @@ end # to be considered successful, transaction status must be either "approved" or "accepted" success = SUCCESS_TYPES.include?(data['status']) message = message_from(data) - Response.new(success, message, data, + Response.new( + success, + message, + data, test: test?, authorization: authorization_from(action, data), cvv_result: data['cvv'], - avs_result: { code: data['avs'] }) + avs_result: { code: data['avs'] } + ) end def parse(body) results = {}