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

- old
+ new

@@ -261,14 +261,18 @@ def commit(action, money, parameters) response = parse(ssl_post(url_for(action), post_data(action, money, parameters)), action) # Pass along the original transaction id in the case an update transaction - Response.new(response[:success], message_from(response, action), response, + Response.new( + response[:success], + message_from(response, action), + response, test: test?, authorization: response[:szTransactionFileName] || parameters[:szTransactionId], avs_result: { code: response[:szAVSResponseCode] }, - cvv_result: response[:szCVV2ResponseCode]) + cvv_result: response[:szCVV2ResponseCode] + ) end def url_for(action) result = test? ? self.test_url : self.live_url result += advanced? && action == :authorization ? ADVANCED_PATH : BASIC_PATH