lib/active_merchant/billing/gateways/authorize_net.rb in activemerchant-1.80.0 vs lib/active_merchant/billing/gateways/authorize_net.rb in activemerchant-1.81.0
- old
+ new
@@ -861,9 +861,13 @@
response[:test_request] = if(element = doc.at_xpath('//testRequest'))
(empty?(element.content) ? nil : element.content)
end
+ response[:full_response_code] = if(element = doc.at_xpath('//messages/message/code'))
+ (empty?(element.content) ? nil : element.content)
+ end
+
response
end
def parse_cim(body)
response = {}