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

- old
+ new

@@ -66,12 +66,16 @@ end def commit(action, money, parameters) response = parse(ssl_post(self.live_url, post_data(action, parameters))) - Response.new(successful?(response), message_from(response), response, + Response.new( + successful?(response), + message_from(response), + response, test: test_response?(response), - authorization: authorization_from(response)) + authorization: authorization_from(response) + ) end def successful?(response) response[:status] == SUCCESS end