lib/active_merchant/billing/gateways/redsys.rb in activemerchant-1.99.0 vs lib/active_merchant/billing/gateways/redsys.rb in activemerchant-1.100.0

- old
+ new

@@ -471,9 +471,10 @@ op = xml.xpath("//RETORNOXML/#{node}") op.children.each do |element| params[element.name.downcase.to_sym] = element.text end message = response_text_3ds(xml, params) + options[:authorization] = build_authorization(params) success = params.size > 0 && is_success_response?(params[:ds_response]) elsif code == '0' op = xml.xpath('//RETORNOXML/OPERACION') op.children.each do |element| params[element.name.downcase.to_sym] = element.text